diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-09-16 10:32:00 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-09-16 10:32:00 -0700 |
commit | 5fe983d3f1a5b103fc00a24f9e0408302e60c39c (patch) | |
tree | 71a1c74332accbb43f9f69f110a62fc1b8204d49 /arch | |
parent | 077a6ccf2588c7c893b443fad62d0f8ed342cafc (diff) | |
parent | 90cc7bed1ed19f869ae7221a6b41887fe762a6a3 (diff) |
Merge tag 'for-5.15/parisc-4' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
Pull parisc fix from Helge Deller:
"Fix a build warning when using the PAGE0 pointer"
* tag 'for-5.15/parisc-4' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
parisc: Use absolute_pointer() to define PAGE0
Diffstat (limited to 'arch')
-rw-r--r-- | arch/parisc/include/asm/page.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/include/asm/page.h b/arch/parisc/include/asm/page.h index d00313d1274e..0561568f7b48 100644 --- a/arch/parisc/include/asm/page.h +++ b/arch/parisc/include/asm/page.h @@ -184,7 +184,7 @@ extern int npmem_ranges; #include <asm-generic/getorder.h> #include <asm/pdc.h> -#define PAGE0 ((struct zeropage *)__PAGE_OFFSET) +#define PAGE0 ((struct zeropage *)absolute_pointer(__PAGE_OFFSET)) /* DEFINITION OF THE ZERO-PAGE (PAG0) */ /* based on work by Jason Eckhardt (jason@equator.com) */ |