From: Russell King Date: Tue, 6 Aug 2013 08:49:14 +0000 (+0100) Subject: ARM: Fix the world famous typo with is_gate_vma() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1176dcded10fd4de79aaac9bb1bd77a4aabdba61;p=karo-tx-linux.git ARM: Fix the world famous typo with is_gate_vma() commit 1d0bbf428924f94867542d49d436cf254b9dbd06 upstream. Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman Cc: Colin Cross Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 5bc2615268d4..ab1fe3bb31f0 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c @@ -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