lkml.org 
[lkml]   [2008]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: kgdb build error

* Patrick McHardy <kaber@trash.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@elte.hu>

Signed-off-by: Ingo Molnar <mingo@elte.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:

\
 
 \ /
  Last update: 2008-04-21 21:21    [W:0.036 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site