]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Oct 2013 14:45:44 +0000 (07:45 -0700)
commit 1d0bbf428924f94867542d49d436cf254b9dbd06 upstream.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Colin Cross <ccross@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/kernel/process.c

index 5bc2615268d4938cf1a49c70fd0c79af1a82f4ff..ab1fe3bb31f068507da77ddbcfb9ca49e24f203d 100644 (file)
@@ -466,7 +466,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