diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2024-04-10 21:08:51 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2024-04-10 21:08:51 +0800 |
commit | 0871bc0129d403747ea0272a4384895d7ad37a6c (patch) | |
tree | 384106615463ddfe2a81b187c15b6110d933d465 /arch | |
parent | fec50db7033ea478773b159e0e2efb135270e3b7 (diff) |
mm: Move lowmem_page_address() a little later
LoongArch will override page_to_virt() which use page_address() in the
KFENCE case (by defining WANT_PAGE_VIRTUAL/HASHED_PAGE_VIRTUAL). So move
lowmem_page_address() a little later to avoid such build errors:
error: implicit declaration of function 'page_address'.
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions