Re: Compile error in v2.6.27-rc7-78-gfb478da [PATCH]
From: Jonathan McDowell
Date: Wed Sep 24 2008 - 12:31:35 EST
In article <48DA07FE.6020002@xxxxxxxxxxxxx> (earth.lists.linux-kernel)
Romano Giannetti wrote:
> CALL scripts/checksyscalls.sh
> CC init/main.o
> CC arch/x86/kernel/process_32.o
> arch/x86/kernel/process_32.c: In function âcpu_exit_clearâ:
> arch/x86/kernel/process_32.c:91: error: implicit declaration of function
> âc1e_remove_cpuâ
> make[1]: *** [arch/x86/kernel/process_32.o] Error 1
> make: *** [arch/x86/kernel] Error 2
> make: *** Waiting for unfinished jobs....
Just hit the same myself; looks like a missing include of <asm/idle.h>
Signed-Off-By: Jonathan McDowell <noodles@xxxxxxxx>
-----
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c
index 4b3cfdf..66d13d9 100644
--- a/arch/x86/kernel/process_32.c
+++ b/arch/x86/kernel/process_32.c
@@ -41,6 +41,7 @@
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/system.h>
+#include <asm/idle.h>
#include <asm/io.h>
#include <asm/ldt.h>
#include <asm/processor.h>
-----
J.
--
"Every now and then I get an insane urge to move to Finland." -- Peter
da Silva, The Scary Devil Monastery
--
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/