Skip to content

Commit 69b9afb

Browse files
Matthew Wilcox (Oracle)gregkh
Matthew Wilcox (Oracle)
authored andcommitted
alpha: fix alloc_zeroed_user_highpage_movable()
[ Upstream commit f9c668d ] Due to a typo, the final argument to alloc_page_vma() didn't refer to a real variable. This only affected CONFIG_NUMA, which was marked BROKEN in 2006 and removed from alpha in 2021. Found due to a refactoring patch. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Reported-by: kernel test robot <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 231d4e4 commit 69b9afb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/alpha/include/asm/page.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ extern void clear_page(void *page);
1818
#define clear_user_page(page, vaddr, pg) clear_page(page)
1919

2020
#define alloc_zeroed_user_highpage_movable(vma, vaddr) \
21-
alloc_page_vma(GFP_HIGHUSER_MOVABLE | __GFP_ZERO, vma, vmaddr)
21+
alloc_page_vma(GFP_HIGHUSER_MOVABLE | __GFP_ZERO, vma, vaddr)
2222
#define __HAVE_ARCH_ALLOC_ZEROED_USER_HIGHPAGE_MOVABLE
2323

2424
extern void copy_page(void * _to, void * _from);

0 commit comments

Comments
 (0)