mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
097d59106a
commit
55062d0617
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ try_again:
|
||||||
* 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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue