diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-08-06 09:49:14 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-08-07 14:00:10 +0100 |
commit | 1d0bbf428924f94867542d49d436cf254b9dbd06 (patch) | |
tree | bb295c3ea862bdad197c0e384e599a480bcaa66a /arch/arm/kernel/process.c | |
parent | 8c0cc8a5d90bc7373a7a9e7f7a40eb41f51e03fc (diff) |
ARM: Fix the world famous typo with is_gate_vma()
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/process.c')
-rw-r--r-- | arch/arm/kernel/process.c | 2 |
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 |