[ARM] remove bogus #ifdef CONFIG_HIGHMEM in show_pte()
authorNicolas Pitre <nico@cam.org>
Thu, 11 Sep 2008 15:52:02 +0000 (11:52 -0400)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 28 Nov 2008 15:36:47 +0000 (15:36 +0000)
commit252d4c276dc0895834af48743579cf19d1fa150b
treeff0005eeff89ad8bcc5ebd197055ce01cadc96df
parent9210807cb5a3f19a0e954dd401e3a2c3626d1b48
[ARM] remove bogus #ifdef CONFIG_HIGHMEM in show_pte()

The restriction on !CONFIG_HIGHMEM is unneeded since page tables are
currently never allocated with highmem pages, and actually disable PTE
dump whenever highmem is configured.  Let's have a dynamic test to better
describe the current limitation instead.

Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/fault.c