Skip to contentSkip to conversation

Compile error in v2.6.27-rc7-78-gfb478da [PATCH]

DISCUSSION Jonathan McDowell 1 participant 1 message Sep 24, 2008 x86

lore
Share & tools
lore
#0 lore raw

In article <[email protected]> (earth.lists.linux-kernel)

Quoted 9 lines · Romano Giannetti
   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>

-----

arch/x86/kernel/process_32.c +1 -0
index 4b3cfdf..66d13d9 100644
@@ -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.

Signature · 2 lines
"Every now and then I get an insane urge to move to Finland." -- Peter
da Silva, The Scary Devil Monastery