[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080421191838.GB3104@elte.hu>
Date: Mon, 21 Apr 2008 21:18:38 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Patrick McHardy <kaber@...sh.net>
Cc: Linux Kernel Mailinglist <linux-kernel@...r.kernel.org>
Subject: Re: kgdb build error
* Patrick McHardy <kaber@...sh.net> wrote:
> I get this build error with current -git on x86_64 (config attached):
>
> CC arch/x86/kernel/kgdb.o
> arch/x86/kernel/kgdb.c:52:28: error: asm/mach_apic.h: No such file or
> directory
> arch/x86/kernel/kgdb.c: In function 'kgdb_roundup_cpus':
> arch/x86/kernel/kgdb.c:337: error: implicit declaration of function
> 'send_IPI_allbutself'
yep, this should fix it:
http://lkml.org/lkml/2008/4/19/35
(also attached below, or available in x86.git.)
Ingo
------------------------->
Subject: x86: KGDB build fix
From: Ingo Molnar <mingo@...e.hu>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
arch/x86/kernel/kgdb.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
Index: linux-x86.q/arch/x86/kernel/kgdb.c
===================================================================
--- linux-x86.q.orig/arch/x86/kernel/kgdb.c
+++ linux-x86.q/arch/x86/kernel/kgdb.c
@@ -46,11 +46,7 @@
#include <asm/apicdef.h>
#include <asm/system.h>
-#ifdef CONFIG_X86_32
-# include <mach_ipi.h>
-#else
-# include <asm/mach_apic.h>
-#endif
+#include <mach_ipi.h>
/*
* Put the error code here just in case the user cares:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists