From: Linus Torvalds Date: Wed, 7 Mar 2012 02:48:13 +0000 (-0800) Subject: x86: fix typo in recent find_vma_prev purge X-Git-Tag: v3.3-rc7~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=55062d061790b43aee01ab3f9ac57b8596254f19;p=profile%2Fcommon%2Fkernel-common.git 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 --- diff --git a/arch/x86/mm/hugetlbpage.c b/arch/x86/mm/hugetlbpage.c index 83e7141..8ecbb4b 100644 --- a/arch/x86/mm/hugetlbpage.c +++ b/arch/x86/mm/hugetlbpage.c @@ -333,7 +333,7 @@ try_again: * Lookup failure means no vma is above this address, * i.e. return with success: */ - vma = find_vma(mm, add); + vma = find_vma(mm, addr); if (!vma) return addr;