aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-03-06 21:48:13 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-06 21:48:13 -0500
commit55062d061790b43aee01ab3f9ac57b8596254f19 (patch)
tree482f3f8ddf93c5d432b9a9fc3d0090ae71642597 /arch/x86/mm
parent097d59106a8e4b42d07c9892fdd7790f1659c6ff (diff)
x86: fix typo in recent find_vma_prev purge
It turns out that test-compiling this file on x86-64 doesn't really help, because much of it is x86-32-specific. And so I hadn't noticed the slightly over-eager removal of the 'r' from 'addr' variable despite thinking I had tested it. Signed-off-by: Linus "oopsie" Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/mm')
-rw-r--r--arch/x86/mm/hugetlbpage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/hugetlbpage.c b/arch/x86/mm/hugetlbpage.c
index 83e7141c3982..8ecbb4bba4b3 100644
--- a/arch/x86/mm/hugetlbpage.c
+++ b/arch/x86/mm/hugetlbpage.c
@@ -333,7 +333,7 @@ try_again:
333 * Lookup failure means no vma is above this address, 333 * Lookup failure means no vma is above this address,
334 * i.e. return with success: 334 * i.e. return with success:
335 */ 335 */
336 vma = find_vma(mm, add); 336 vma = find_vma(mm, addr);
337 if (!vma) 337 if (!vma)
338 return addr; 338 return addr;
339 339