s390: Remove remaining _PAGE_* macros

The introduction of vdso/page.h made the definition of _PAGE_SHIFT,
_PAGE_SIZE, _PAGE_MASK redundant.

Refactor the code to remove the macros.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20241014151340.1639555-4-vincenzo.frascino@arm.com
Closes: https://lore.kernel.org/oe-kbuild-all/202410112106.mvc2U2p0-lkp@intel.com/
This commit is contained in:
Vincenzo Frascino
2024-10-14 16:13:40 +01:00
committed by Thomas Gleixner
parent efe8419ae7
commit 6febe0efb2
5 changed files with 7 additions and 10 deletions

View File

@@ -13,9 +13,6 @@
#include <vdso/page.h>
#define _PAGE_SHIFT PAGE_SHIFT
#define _PAGE_SIZE PAGE_SIZE
#define _PAGE_MASK PAGE_MASK
#define PAGE_DEFAULT_ACC _AC(0, UL)
/* storage-protection override */
#define PAGE_SPO_ACC 9