x86/mm: Remove P*D_PAGE_MASK and P*D_PAGE_SIZE macros
authorPasha Tatashin <pasha.tatashin@soleen.com>
Mon, 16 May 2022 18:52:02 +0000 (18:52 +0000)
committerDave Hansen <dave.hansen@linux.intel.com>
Thu, 15 Dec 2022 18:37:27 +0000 (10:37 -0800)
commit82328227db8f0b9b5f77bb5afcd47e59d0e4d08f
tree058d1358810c6dc701610fc01dc23bc8420a0c43
parent2dff2c359e829245bc3d80e42e296876d1f0cf8e
x86/mm: Remove P*D_PAGE_MASK and P*D_PAGE_SIZE macros

Other architectures and the common mm/ use P*D_MASK, and P*D_SIZE.
Remove the duplicated P*D_PAGE_MASK and P*D_PAGE_SIZE which are only
used in x86/*.

Signed-off-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Link: https://lore.kernel.org/r/20220516185202.604654-1-tatashin@google.com
arch/x86/include/asm/page_types.h
arch/x86/kernel/amd_gart_64.c
arch/x86/kernel/head64.c
arch/x86/mm/mem_encrypt_boot.S
arch/x86/mm/mem_encrypt_identity.c
arch/x86/mm/pat/set_memory.c
arch/x86/mm/pti.c