diff options
author | Vincenzo Frascino <[email protected]> | 2024-10-14 16:13:39 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2024-10-16 00:13:04 +0200 |
commit | efe8419ae78d65e83edc31aad74b605c12e7d60c (patch) | |
tree | e74506defd767337e971685bf2cc2a0c6a0c59b1 /arch/csky | |
parent | 8fd236b00fc1bc40e2f9205d0121a2de5ea506d0 (diff) |
vdso: Introduce vdso/page.h
The VDSO implementation includes headers from outside of the
vdso/ namespace.
Introduce vdso/page.h to make sure that the generic library
uses only the allowed namespace.
Signed-off-by: Vincenzo Frascino <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Acked-by: Geert Uytterhoeven <[email protected]> # m68k
Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'arch/csky')
-rw-r--r-- | arch/csky/include/asm/page.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/csky/include/asm/page.h b/arch/csky/include/asm/page.h index 0ca6c408c07f..f8beae295afb 100644 --- a/arch/csky/include/asm/page.h +++ b/arch/csky/include/asm/page.h @@ -7,12 +7,8 @@ #include <asm/cache.h> #include <linux/const.h> -/* - * PAGE_SHIFT determines the page size: 4KB - */ -#define PAGE_SHIFT CONFIG_PAGE_SHIFT -#define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) -#define PAGE_MASK (~(PAGE_SIZE - 1)) +#include <vdso/page.h> + #define THREAD_SIZE (PAGE_SIZE * 2) #define THREAD_MASK (~(THREAD_SIZE - 1)) #define THREAD_SHIFT (PAGE_SHIFT + 1) |