]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "MIPS: page.h: Provide more readable definition for PAGE_MASK."
authorRalf Baechle <ralf@linux-mips.org>
Mon, 22 Apr 2013 15:57:54 +0000 (17:57 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 22 Apr 2013 16:09:35 +0000 (18:09 +0200)
commit9e5d135bd2994f576e713a16ab774abe46cccc8d
tree494cb0bafa1e787b7e00b6cfa0c2929660f760b1
parent3d34597d718ce53665fd0801124f99ffdab92e9b
Revert "MIPS: page.h: Provide more readable definition for PAGE_MASK."

This reverts commit de2c4257311f24494ec2a0b27b0f3e1104eec9fb.

Manuel Lauss writes:

lmo commit de2c4257 (MIPS: page.h: Provide more readable definition for
PAGE_MASK) apparently breaks ioremap of 36-bit addresses on my Alchemy
systems (PCI and PCMCIA) The reason is that in arch/mips/mm/ioremap.c
line 157  (phys_addr &= PAGE_MASK) bits 32-35 are cut off.  Seems the
new PAGE_MASK is explicitly 32bit, or one could make it signed instead
of unsigned long.
arch/mips/include/asm/page.h