Commit 55062d06 authored by Linus Torvalds's avatar Linus Torvalds

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: default avatarLinus "oopsie" Torvalds <torvalds@linux-foundation.org>
parent 097d5910
...@@ -333,7 +333,7 @@ static unsigned long hugetlb_get_unmapped_area_topdown(struct file *file, ...@@ -333,7 +333,7 @@ static unsigned long hugetlb_get_unmapped_area_topdown(struct file *file,
* Lookup failure means no vma is above this address, * Lookup failure means no vma is above this address,
* i.e. return with success: * i.e. return with success:
*/ */
vma = find_vma(mm, add); vma = find_vma(mm, addr);
if (!vma) if (!vma)
return addr; return addr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment