VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   34 Branches   58 Tags
author: Helge Deller <deller@gmx.de> 2021-09-16 08:35:42 +0200 committer: Helge Deller <deller@gmx.de> 2021-09-16 08:35:42 +0200 commit: 90cc7bed1ed19f869ae7221a6b41887fe762a6a3 parent: ff1ffd71d5f0612cf194f5705c671d6b64bf5f91
Commit Summary:
parisc: Use absolute_pointer() to define PAGE0
Diffstat:
1 file changed, 1 insertion, 1 deletion
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) */