Skip to content

Commit 1d0bbf4

Browse files
author
Russell King
committed
ARM: Fix the world famous typo with is_gate_vma()
Signed-off-by: Russell King <[email protected]>
1 parent 8c0cc8a commit 1d0bbf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/kernel/process.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ int in_gate_area_no_mm(unsigned long addr)
459459
{
460460
return in_gate_area(NULL, addr);
461461
}
462-
#define is_gate_vma(vma) ((vma) = &gate_vma)
462+
#define is_gate_vma(vma) ((vma) == &gate_vma)
463463
#else
464464
#define is_gate_vma(vma) 0
465465
#endif

0 commit comments

Comments
 (0)