[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-mips-cvs
Subject:    Revert "MIPS: page.h: Provide more readable definition for PAGE_MASK."
From:       linux-mips () linux-mips ! org
Date:       2013-04-22 16:04:44
Message-ID: S6835063Ab3DVQErVBSvU/20130422160447Z+3926 () eddie ! linux-mips ! org
[Download RAW message or body]

Author: Ralf Baechle <ralf@linux-mips.org> Mon Apr 22 17:57:54 2013 +0200
Commit: a5f8ddfcb424bb639bc855ec0e5a4db8c5bb76b5
Gitweb: http://git.linux-mips.org/g/ralf/linux/a5f8ddfcb424
Branch: master

This reverts commit c17a6554782ad531f4713b33fd6339ba67ef6391.

Manuel Lauss writes:

lmo commit c17a6554 (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 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic