mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jonathan McDowell <noodles@earth.li>
To: linux-kernel@vger.kernel.org
Subject: Re: Compile error in v2.6.27-rc7-78-gfb478da [PATCH]
Date: Wed, 24 Sep 2008 17:31:09 +0100	[thread overview]
Message-ID: <20080924163109.GA19145@earth.li> (raw)

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

                 reply	other threads:[~2008-09-24 16:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080924163109.GA19145@earth.li \
    --to=noodles@earth.li \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®