aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/pcic.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-04-26 03:57:35 -0400
committerDavid S. Miller <davem@davemloft.net>2014-05-02 01:30:21 -0400
commit01c6505d602f47d93209f82bd652329d0e17eeb0 (patch)
treeb204d12bd2b91922993dc20dc01e8a2b0beda2d3 /arch/sparc/kernel/pcic.c
parentc46064b4e8fecc469ec2fa606ad0cccf4d2e49c0 (diff)
sparc32: replace flip_dword() with swab32()
The latter is a generic implmentation. flip_{,d}word() is sparc32 specific and will be dropped. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Daniel Hellstrom <daniel@gaisler.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/pcic.c')
-rw-r--r--arch/sparc/kernel/pcic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/pcic.c b/arch/sparc/kernel/pcic.c
index 09f4fdd8d808..6996f32c64bf 100644
--- a/arch/sparc/kernel/pcic.c
+++ b/arch/sparc/kernel/pcic.c
@@ -783,7 +783,7 @@ int pcibios_enable_device(struct pci_dev *pdev, int mask)
783void pcic_nmi(unsigned int pend, struct pt_regs *regs) 783void pcic_nmi(unsigned int pend, struct pt_regs *regs)
784{ 784{
785 785
786 pend = flip_dword(pend); 786 pend = swab32(pend);
787 787
788 if (!pcic_speculative || (pend & PCI_SYS_INT_PENDING_PIO) == 0) { 788 if (!pcic_speculative || (pend & PCI_SYS_INT_PENDING_PIO) == 0) {
789 /* 789 /*