[PATCH 1/10] x86 boot: include missing smp.h header
- Date: Wed, 14 May 2008 08:15:04 -0700
- From: Paul Jackson <pj@xxxxxxx>
- Subject: [PATCH 1/10] x86 boot: include missing smp.h header
From: Paul Jackson <pj@xxxxxxx>
The patch:
x86: convert cpu_to_apicid to be a per cpu variable
introduced a dependency of ipi.h on smp.h in x86
builds with an allnoconfig. Including smp.h in ipi.h
fixes the build error:
In file included from arch/x86/kernel/traps_64.c:48:
include/asm/ipi.h: In function 'send_IPI_mask_sequence':
include/asm/ipi.h:114: error: 'per_cpu__x86_cpu_to_apicid' undeclared (first use in this function)
Signed-off-by: Paul Jackson <pj@xxxxxxx>
Cc: Mike Travis <travis@xxxxxxx>
---
include/asm-x86/ipi.h | 1 +
1 file changed, 1 insertion(+)
--- linux.orig/include/asm-x86/ipi.h 2008-05-13 10:44:39.000000000 -0700
+++ linux/include/asm-x86/ipi.h 2008-05-13 10:56:37.431506774 -0700
@@ -20,6 +20,7 @@
#include <asm/hw_irq.h>
#include <asm/apic.h>
+#include <asm/smp.h>
/*
* the following functions deal with sending IPIs between CPUs.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.650.933.1373
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 1/10] x86 boot: include missing smp.h header
- From: Mike Travis
- [PATCH 10/10] x86 boot: add code to add BIOS provided EFI memory entries to kernel
- From: Paul Jackson
- [PATCH 9/10] x86 boot: longer comment explaining sanitize_e820_map routine
- From: Paul Jackson
- [PATCH 8/10] x86 boot: change sanitize_e820_map parameter from byte to int to allow bigger memory maps
- From: Paul Jackson
- [PATCH 7/10] x86 boot: extend some internal memory map arrays to handle larger EFI input
- From: Paul Jackson
- [PATCH 6/10] x86 boot: proper use of ARRAY_SIZE instead of repeated E820MAX constant
- From: Paul Jackson
- [PATCH 5/10] x86 boot: minor code format fixes in e820 and efi routines
- From: Paul Jackson
- [PATCH 4/10] x86 boot: simplify pageblock_bits enum declaration
- From: Paul Jackson
- [PATCH 3/10] x86 boot: add header comment to dmi.h stating what it is
- From: Paul Jackson
- [PATCH 2/10] x86 boot: remove some unused extern function declarations
- From: Paul Jackson
- Re: [PATCH 1/10] x86 boot: include missing smp.h header
- Prev by Date: Re: m68k: main.c:(.init.text+0x730): undefined reference to `strlen'
- Next by Date: [PATCH 2/10] x86 boot: remove some unused extern function declarations
- Previous by thread: v2.6.25: SKB BUG: Invalid truesize (260) len=134, sizeof(sk_buff)=164
- Next by thread: [PATCH 2/10] x86 boot: remove some unused extern function declarations
- Index(es):