aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2013-08-06 04:49:14 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-08-07 09:00:10 -0400
commit1d0bbf428924f94867542d49d436cf254b9dbd06 (patch)
treebb295c3ea862bdad197c0e384e599a480bcaa66a /arch/arm/kernel
parent8c0cc8a5d90bc7373a7a9e7f7a40eb41f51e03fc (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')
-rw-r--r--arch/arm/kernel/process.c2
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)
459{ 459{
460 return in_gate_area(NULL, addr); 460 return in_gate_area(NULL, addr);
461} 461}
462#define is_gate_vma(vma) ((vma) = &gate_vma) 462#define is_gate_vma(vma) ((vma) == &gate_vma)
463#else 463#else
464#define is_gate_vma(vma) 0 464#define is_gate_vma(vma) 0
465#endif 465#endif