]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: Fix the world famous typo with is_gate_vma()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 6 Aug 2013 08:49:14 +0000 (09:49 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 7 Aug 2013 13:00:10 +0000 (14:00 +0100)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/process.c

index d03b5bd889c5d0c3101ea82fde6cbd6f06d76f0a..e28d43f74dbf063d31aa096e07aec03392784c66 100644 (file)
@@ -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