diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-08-06 10:49:14 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-08-07 15:00:10 +0200 |
commit | 1d0bbf428924f94867542d49d436cf254b9dbd06 (patch) | |
tree | bb295c3ea862bdad197c0e384e599a480bcaa66a | |
parent | ARM: fix nommu builds with 48be69a02 (ARM: move signal handlers into a vdso-l... (diff) | |
download | linux-1d0bbf428924f94867542d49d436cf254b9dbd06.tar.xz linux-1d0bbf428924f94867542d49d436cf254b9dbd06.zip |
ARM: Fix the world famous typo with is_gate_vma()
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-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 |