summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2013-08-06 10:49:14 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-08-07 15:00:10 +0200
commit1d0bbf428924f94867542d49d436cf254b9dbd06 (patch)
treebb295c3ea862bdad197c0e384e599a480bcaa66a
parentARM: fix nommu builds with 48be69a02 (ARM: move signal handlers into a vdso-l... (diff)
downloadlinux-1d0bbf428924f94867542d49d436cf254b9dbd06.tar.xz
linux-1d0bbf428924f94867542d49d436cf254b9dbd06.zip
ARM: Fix the world famous typo with is_gate_vma()
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-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 d03b5bd889c5..e28d43f74dbf 100644
--- a/arch/arm/kernel/process.c
+++ b/arch/arm/kernel/process.c
@@ -459,7 +459,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