diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-08-06 09:49:14 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-18 07:45:44 -0700 |
commit | 1176dcded10fd4de79aaac9bb1bd77a4aabdba61 (patch) | |
tree | 2b1b275a01851f84fcabfa1909e1239c943885e4 /arch | |
parent | 77587e89405f5d8225a0e750df254bcc2dcb73e1 (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')
-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 5bc2615268d..ab1fe3bb31f 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) { 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 |