* Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com> wrote:applied, thanks. A small detail: i suspect checkpatch suggested that asm/smp.h -> linux/smp.h change, but there was a subtle detail here - asm/smp.h has dual role on x86, it also carries a fair number of low level details about APIC/SMP details - which matters on UP IOAPIC. so the fix below was needed as well. Ingo -------------> Subject: build fix to "x86: coding style fixes to arch/x86/kernel/io_apic_32.c" From: Ingo Molnar <mingo@elte.hu> Date: Mon Jun 09 20:58:55 CEST 2008 io_apic_32.c relied on asm/smp.h include, to pick up lowlevel arch details: arch/x86/kernel/io_apic_32.c:75: error: array type has incomplete element type arch/x86/kernel/io_apic_32.c:79: error: array type has incomplete element type arch/x86/kernel/io_apic_32.c:152: error: field ‘entry’ has incomplete type arch/x86/kernel/io_apic_32.c:156: error: return type is an incomplete type arch/x86/kernel/io_apic_32.c: In function ‘ioapic_read_entry’: arch/x86/kernel/io_apic_32.c:163: warning: ‘return’ with a value, in function returning void arch/x86/kernel/io_apic_32.c: At top level: so add it back. Signed-off-by: Ingo Molnar <mingo@elte.hu> --- arch/x86/kernel/io_apic_32.c | 2 ++ 1 file changed, 2 insertions(+) Index: linux/arch/x86/kernel/io_apic_32.c =================================================================== --- linux.orig/arch/x86/kernel/io_apic_32.c +++ linux/arch/x86/kernel/io_apic_32.c @@ -39,6 +39,8 @@ #include <linux/io.h> #include <linux/smp.h> + +#include <asm/smp.h> #include <asm/desc.h> #include <asm/timer.h> #include <asm/i8259.h> --
| Greg Kroah-Hartman | [PATCH 002/196] Chinese: rephrase English introduction in HOWTO |
| David Brown | Re: Linux 2.6.21-rc2 |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Justin C. Sherrill | Re: dragonflybsd.org website link? |
git: | |
| Ben Hutchings | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
