[ARM] 3853/1: Fix flush_ptrace_access() thinko for nonaliasing VIPT cache case
authorGeorge G. Davis <davis_g@mvista.com>
Thu, 21 Sep 2006 02:57:04 +0000 (03:57 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 25 Sep 2006 09:34:04 +0000 (10:34 +0100)
Fix thinko in the flush_ptrace_access() "if (expr)" for the ARM
VIPT non-aliasing cache case.  We only need to flush cache when
VM_EXEC is set in vma->vm_flags but "if (expr) always evaluates
to true on UP systems for the ARM VIPT non-aliasing cache case.

Signed-off-by: George G. Davis <gdavis@mvista.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/flush.c

Simple merge