]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[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)
commita71ebdfa5243765e455a9ec2d6360e1704c6599e
tree07685ddb0d4a8f3b1872b73be5d6fda724a6dc9e
parente7cc2c59cc83558fc26f17eee3c8f901119f0a7c
[ARM] 3853/1: Fix flush_ptrace_access() thinko for nonaliasing VIPT cache case

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