summaryrefslogtreecommitdiff
path: root/arch/arm/kernel/process.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2013-08-13 20:23:28 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-08-13 20:23:28 +0100
commit2a2822475d0e734adffab72644329d9c042ce2e1 (patch)
treef9c024e6e10807a2c0a372a4705cf7881a1ca919 /arch/arm/kernel/process.c
parent2103f6cba61a8b8bea3fc1b63661d830a2125e76 (diff)
parentd9f966357b14e356dbd83b8f4a197a287ab4ff83 (diff)
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