[ARM] 4112/1: Only ioremap to supersections if DOMAIN_IO is zero
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 25 Jan 2007 13:16:47 +0000 (14:16 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 25 Jan 2007 16:35:26 +0000 (16:35 +0000)
commit412489af76b5c0e4029d4406d93554c22a88fc73
tree1ef0221282baeea94e5ea74aaad724aa73a81176
parent7baced8a5923ce13d3d42d50a042a869092ab4e5
[ARM] 4112/1: Only ioremap to supersections if DOMAIN_IO is zero

Supersections do not have a field for the domain and it is always
0. This patch prevents the creation of supersections during ioremap
when DOMAIN_IO is not zero (i.e. !defined(CONFIG_IO_36)).

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/ioremap.c