Skip to content

Commit 5fe983d

Browse files
committed
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
2 parents 077a6cc + 90cc7be commit 5fe983d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/parisc/include/asm/page.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ extern int npmem_ranges;
184184
#include <asm-generic/getorder.h>
185185
#include <asm/pdc.h>
186186

187-
#define PAGE0 ((struct zeropage *)__PAGE_OFFSET)
187+
#define PAGE0 ((struct zeropage *)absolute_pointer(__PAGE_OFFSET))
188188

189189
/* DEFINITION OF THE ZERO-PAGE (PAG0) */
190190
/* based on work by Jason Eckhardt (jason@equator.com) */

0 commit comments

Comments
 (0)