diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2014-04-26 09:57:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-02 01:30:21 -0400 |
commit | 01c6505d602f47d93209f82bd652329d0e17eeb0 (patch) | |
tree | b204d12bd2b91922993dc20dc01e8a2b0beda2d3 /arch/sparc/kernel/pcic.c | |
parent | c46064b4e8fecc469ec2fa606ad0cccf4d2e49c0 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/pcic.c b/arch/sparc/kernel/pcic.c index 09f4fdd8d80..6996f32c64b 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) void pcic_nmi(unsigned int pend, struct pt_regs *regs) { - pend = flip_dword(pend); + pend = swab32(pend); if (!pcic_speculative || (pend & PCI_SYS_INT_PENDING_PIO) == 0) { /* |