ARM: 6901/1: remove unneeded check of the cache_is_vipt_nonaliasing()
authorsaeed bishara <saeed@marvell.com>
Mon, 16 May 2011 14:41:15 +0000 (15:41 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 16 May 2011 14:42:42 +0000 (15:42 +0100)
commit8373dc38ca8d4918210710807256a313cd111f0b
tree72275f4675895890f38d6e98f2d9ee1267ef52f0
parent60ba5369135e05f040ea1f6b8130c7b082ed53c8
ARM: 6901/1: remove unneeded check of the cache_is_vipt_nonaliasing()

when cache_is_vipt_nonaliasing(), we always have pte_exec() true at
the end of this function, so no need for the additional check.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Saeed Bishara <saeed@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/flush.c