From: Ralf Baechle Date: Mon, 22 Apr 2013 15:57:54 +0000 (+0200) Subject: Revert "MIPS: page.h: Provide more readable definition for PAGE_MASK." X-Git-Tag: v3.9~12^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b5e50edaf500f392f4a372296afc0b99ffa7e70;p=pandora-kernel.git Revert "MIPS: page.h: Provide more readable definition for PAGE_MASK." 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. --- Reading git-diff-tree failed