aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/process.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2013-08-06 04:49:14 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-18 10:45:44 -0400
commit1176dcded10fd4de79aaac9bb1bd77a4aabdba61 (patch)
tree2b1b275a01851f84fcabfa1909e1239c943885e4 /arch/arm/kernel/process.c
parent77587e89405f5d8225a0e750df254bcc2dcb73e1 (diff)
ARM: Fix the world famous typo with is_gate_vma()
commit 1d0bbf428924f94867542d49d436cf254b9dbd06 upstream. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Colin Cross <ccross@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/kernel/process.c')
-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 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)
466{ 466{
467 return in_gate_area(NULL, addr); 467 return in_gate_area(NULL, addr);
468} 468}
469#define is_gate_vma(vma) ((vma) = &gate_vma) 469#define is_gate_vma(vma) ((vma) == &gate_vma)
470#else 470#else
471#define is_gate_vma(vma) 0 471#define is_gate_vma(vma) 0
472#endif 472#endif