diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-11 23:57:40 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-11 23:57:40 -0700 |
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 9378896589f..342da216423 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. */ |