]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
sh: Simplify phys_addr_mask()/PTE_PHYS_MASK for 29/32-bit.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 4 Nov 2010 03:51:08 +0000 (12:51 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 4 Nov 2010 03:51:08 +0000 (12:51 +0900)
commitccedb20c6879ac0237b95b3500d69822f1e5e2ea
treeb2cf47f54cb449c4dd7d2b874b976c3901b47c36
parent7fe19da4ca38fc20cdbc7020fcf2eca8fc756410
sh: Simplify phys_addr_mask()/PTE_PHYS_MASK for 29/32-bit.

Given that __in_29bit_mode() is a constant for the non-PMB case, we can
simply use the PMB-facing version of phys_addr_mask() and drop the other
variants.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/pgtable.h