summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/process.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2013-08-13 21:23:28 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-08-13 21:23:28 +0200
commit2a2822475d0e734adffab72644329d9c042ce2e1 (patch)
treef9c024e6e10807a2c0a372a4705cf7881a1ca919 /arch/arm/kernel/process.c
parentARM: 7807/1: kexec: validate CPU hotplug support (diff)
parentARM: 7810/1: perf: Fix array out of bounds access in armpmu_map_hw_event() (diff)
downloadlinux-2a2822475d0e734adffab72644329d9c042ce2e1.tar.xz
linux-2a2822475d0e734adffab72644329d9c042ce2e1.zip
Merge branch 'security-fixes' into fixes
Diffstat (limited to 'arch/arm/kernel/process.c')
-rw-r--r--arch/arm/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c
index 536c85fe72a8..94f6b05f9e24 100644
--- a/arch/arm/kernel/process.c
+++ b/arch/arm/kernel/process.c
@@ -462,7 +462,7 @@ int in_gate_area_no_mm(unsigned long addr)
{
return in_gate_area(NULL, addr);
}
-#define is_gate_vma(vma) ((vma) = &gate_vma)
+#define is_gate_vma(vma) ((vma) == &gate_vma)
#else
#define is_gate_vma(vma) 0
#endif