From: Dan Williams Date: Fri, 27 Apr 2007 01:21:38 +0000 (-0700) Subject: msi: fix ARM compile X-Git-Tag: v2.6.22-rc4~64 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4fdadebc313f46a750e9ffca9c68c35c587ced9f;p=linux-2.6-omap-h63xx.git msi: fix ARM compile In file included from drivers/pci/msi.c:22: include/asm/smp.h:17:26: asm/arch/smp.h: No such file or directory include/asm/smp.h:20:3: #error " included in non-SMP build" include/asm/smp.h:23:1: warning: "raw_smp_processor_id" redefined In file included from include/linux/sched.h:65, from include/linux/mm.h:4, from drivers/pci/msi.c:10: include/linux/smp.h:85:1: warning: this is the location of the previous definition Tested on powerpc, i386, and x86_64. Signed-off-by: Dan Williams Acked-by: Eric W. Biederman Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index d9cbd586ae4..f7f747016ec 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c @@ -15,10 +15,10 @@ #include #include #include +#include #include #include -#include #include "pci.h" #include "msi.h"