diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-12 02:57:40 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-12 02:57:40 -0400 |
commit | 77d10d0e63dcc4f961cb416447d64281300e5a01 (patch) | |
tree | 5dc062f62bf8fbe394ac1930030c407c4d2f018a /arch/sparc64/kernel/traps.c | |
parent | 21cd8833933ef20a0bbb368ea00876cbfc06141b (diff) |
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.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/sparc64/kernel/traps.c b/arch/sparc64/kernel/traps.c index 9378896589f0..342da2164239 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 | |||
341 | } | 341 | } |
342 | 342 | ||
343 | #ifdef CONFIG_PCI | 343 | #ifdef CONFIG_PCI |
344 | /* This is really pathetic... */ | 344 | #include "pci_impl.h" |
345 | extern volatile int pci_poke_in_progress; | ||
346 | extern volatile int pci_poke_cpu; | ||
347 | extern volatile int pci_poke_faulted; | ||
348 | #endif | 345 | #endif |
349 | 346 | ||
350 | /* When access exceptions happen, we must do this. */ | 347 | /* When access exceptions happen, we must do this. */ |