summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorGiuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>2007-10-06 19:55:03 +0200
committerRalf Baechle <ralf@linux-mips.org>2007-10-09 13:47:48 +0200
commit378a545954abfec1c9499203206e0ffb5c2118d2 (patch)
tree3d11cf69f7a49b06edcbc580a1e0b3561d64c6e6 /arch/mips
parentCorrect Makefile rule for generating custom keymap (diff)
downloadlinux-378a545954abfec1c9499203206e0ffb5c2118d2.tar.xz
linux-378a545954abfec1c9499203206e0ffb5c2118d2.zip
[MIPS] IP32: Fix fatal typo in address computation.
Signed-off-by: Giuseppe Sacco <eppesuig@debian.org> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/pci/ops-mace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/ops-mace.c b/arch/mips/pci/ops-mace.c
index 2025f1f3e9f5..fe5451449304 100644
--- a/arch/mips/pci/ops-mace.c
+++ b/arch/mips/pci/ops-mace.c
@@ -33,7 +33,7 @@ static inline int mkaddr(struct pci_bus *bus, unsigned int devfn,
unsigned int reg)
{
return ((bus->number & 0xff) << 16) |
- (devfn & 0xff) << 8) |
+ ((devfn & 0xff) << 8) |
(reg & 0xfc);
}