summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2007-04-27 03:21:38 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2007-06-01 01:56:36 +0200
commit4fdadebc313f46a750e9ffca9c68c35c587ced9f (patch)
tree8765dca261f32041e081f9b1d543ad9f80e13d67 /drivers/pci
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fix (diff)
downloadlinux-4fdadebc313f46a750e9ffca9c68c35c587ced9f.tar.xz
linux-4fdadebc313f46a750e9ffca9c68c35c587ced9f.zip
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 "<asm-arm/smp.h> 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 <dan.j.williams@intel.com> Acked-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/msi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c
index d9cbd586ae4b..f7f747016ecd 100644
--- a/drivers/pci/msi.c
+++ b/drivers/pci/msi.c
@@ -15,10 +15,10 @@
#include <linux/pci.h>
#include <linux/proc_fs.h>
#include <linux/msi.h>
+#include <linux/smp.h>
#include <asm/errno.h>
#include <asm/io.h>
-#include <asm/smp.h>
#include "pci.h"
#include "msi.h"