lkml.org 
[lkml]   [2008]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Compile error in v2.6.27-rc7-78-gfb478da [PATCH]
In article <48DA07FE.6020002@upcomillas.es> (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@earth.li>

-----
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2008-09-24 18:35    [W:0.021 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site