projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
097d591
)
x86: fix typo in recent find_vma_prev purge
author
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 7 Mar 2012 02:48:13 +0000
(18:48 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 7 Mar 2012 02:48:13 +0000
(18:48 -0800)
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>
arch/x86/mm/hugetlbpage.c
patch
|
blob
|
history
diff --git
a/arch/x86/mm/hugetlbpage.c
b/arch/x86/mm/hugetlbpage.c
index 83e7141c3982fe2b9b940e4f13cf89f3c6c26d2f..8ecbb4bba4b3b44241b64b46079476ad90f7aad4 100644
(file)
--- 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, add
r
);
if (!vma)
return addr;