summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/traps.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-09-11 23:57:40 -0700
committerDavid S. Miller <davem@davemloft.net>2008-09-11 23:57:40 -0700
commit77d10d0e63dcc4f961cb416447d64281300e5a01 (patch)
tree5dc062f62bf8fbe394ac1930030c407c4d2f018a /arch/sparc64/kernel/traps.c
parent21cd8833933ef20a0bbb368ea00876cbfc06141b (diff)
downloadop-kernel-dev-77d10d0e63dcc4f961cb416447d64281300e5a01.zip
op-kernel-dev-77d10d0e63dcc4f961cb416447d64281300e5a01.tar.gz
sparc64: Fix sparse warnings in pci.c
1) Declare pci_poke_* in pci_impl.h 2) of_create_pci_dev() should be static 3) ->setup_msi_irq() wants an unsigned int pointer not a plain int one 4) void value expression return in arch_teardown_msi_irq() Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/traps.c')
-rw-r--r--arch/sparc64/kernel/traps.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/sparc64/kernel/traps.c b/arch/sparc64/kernel/traps.c
index 9378896..342da21 100644
--- a/arch/sparc64/kernel/traps.c
+++ b/arch/sparc64/kernel/traps.c
@@ -341,10 +341,7 @@ void sun4v_data_access_exception_tl1(struct pt_regs *regs, unsigned long addr, u
}
#ifdef CONFIG_PCI
-/* This is really pathetic... */
-extern volatile int pci_poke_in_progress;
-extern volatile int pci_poke_cpu;
-extern volatile int pci_poke_faulted;
+#include "pci_impl.h"
#endif
/* When access exceptions happen, we must do this. */
OpenPOWER on IntegriCloud