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-Tag: firefly_0821_release~176^2~5508^2~2^2~4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1d0bbf428924f94867542d49d436cf254b9dbd06;p=firefly-linux-kernel-4.4.55.git ARM: Fix the world famous typo with is_gate_vma() Signed-off-by: Russell King --- 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