diff options
| author | Vincenzo Frascino <vincenzo.frascino@arm.com> | 2024-10-14 16:13:39 +0100 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2024-10-16 00:13:04 +0200 |
| commit | efe8419ae78d65e83edc31aad74b605c12e7d60c (patch) | |
| tree | e74506defd767337e971685bf2cc2a0c6a0c59b1 /arch/openrisc/include/asm/page.h | |
| parent | drm: i915: Change fault type to unsigned long (diff) | |
| download | linux-efe8419ae78d65e83edc31aad74b605c12e7d60c.tar.gz linux-efe8419ae78d65e83edc31aad74b605c12e7d60c.zip | |
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 <vincenzo.frascino@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> # m68k
Link: https://lore.kernel.org/all/20241014151340.1639555-3-vincenzo.frascino@arm.com
Diffstat (limited to 'arch/openrisc/include/asm/page.h')
| -rw-r--r-- | arch/openrisc/include/asm/page.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/arch/openrisc/include/asm/page.h b/arch/openrisc/include/asm/page.h index 1d5913f67c31..124a2db4b160 100644 --- a/arch/openrisc/include/asm/page.h +++ b/arch/openrisc/include/asm/page.h @@ -15,16 +15,7 @@ #ifndef __ASM_OPENRISC_PAGE_H #define __ASM_OPENRISC_PAGE_H - -/* PAGE_SHIFT determines the page size */ - -#define PAGE_SHIFT CONFIG_PAGE_SHIFT -#ifdef __ASSEMBLY__ -#define PAGE_SIZE (1 << PAGE_SHIFT) -#else -#define PAGE_SIZE (1UL << PAGE_SHIFT) -#endif -#define PAGE_MASK (~(PAGE_SIZE-1)) +#include <vdso/page.h> #define PAGE_OFFSET 0xc0000000 #define KERNELBASE PAGE_OFFSET |
