Messages in this thread | | | Date | Wed, 18 May 2022 17:28:38 +0100 | From | Catalin Marinas <> | Subject | Re: [PATCH -next 2/2] arm64/mm: fix page table check compile error for CONFIG_PGTABLE_LEVELS=2 |
| |
On Tue, May 17, 2022 at 07:45:48AM +0000, Tong Tiangen wrote: > If CONFIG_PGTABLE_LEVELS=2 and CONFIG_ARCH_SUPPORTS_PAGE_TABLE_CHECK=y, > then we trigger a compile error: > > error: implicit declaration of function 'pte_user_accessible_page' > > Move the definition of page table check helper out of branch > CONFIG_PGTABLE_LEVELS > 2 > > Fixes: daf214c14dbe ("arm64/mm: enable ARCH_SUPPORTS_PAGE_TABLE_CHECK") > Signed-off-by: Tong Tiangen <tongtiangen@huawei.com>
I'd drop the fixes tag here since the patch is queued in the mm tree and AFAIK that one doesn't have stable git commit ids. Otherwise:
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
(I cc'ed Andrew and linux-mm as Andrew queued the original patches)
| |