]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
msi: fix ARM compile
authorDan Williams <dan.j.williams@intel.com>
Fri, 27 Apr 2007 01:21:38 +0000 (18:21 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 31 May 2007 23:56:36 +0000 (16:56 -0700)
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>
drivers/pci/msi.c

index d9cbd586ae4bc282815a6b7aad16ddb3ecb523df..f7f747016ecd9ee2bb0ee1e28d95c11ab0e9acf3 100644 (file)
 #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"