Re: [PATCH 02/31] x86: Make sure free_init_pages() free pages inboundary

From: Ingo Molnar
Date: Mon Mar 29 2010 - 12:58:24 EST



Note, i applied the fix below, without it the 32-bit defconfig build would
fail with:

arch/x86/kernel/head32.c: In function 'i386_start_kernel':
arch/x86/kernel/head32.c:50: error: implicit declaration of function 'PAGE_ALIGN'

Ingo

Index: linux/arch/x86/kernel/head32.c
===================================================================
--- linux.orig/arch/x86/kernel/head32.c
+++ linux/arch/x86/kernel/head32.c
@@ -7,6 +7,7 @@

#include <linux/init.h>
#include <linux/start_kernel.h>
+#include <linux/mm.h>

#include <asm/setup.h>
#include <asm/sections.h>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/