diff options
Diffstat (limited to 'arch/sparc')
| -rw-r--r-- | arch/sparc/include/asm/page_64.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/page_64.h b/arch/sparc/include/asm/page_64.h index d95931247feb..9dd0f7360822 100644 --- a/arch/sparc/include/asm/page_64.h +++ b/arch/sparc/include/asm/page_64.h | |||
| @@ -117,7 +117,9 @@ typedef pte_t *pgtable_t; | |||
| 117 | /* We used to stick this into a hard-coded global register (%g4) | 117 | /* We used to stick this into a hard-coded global register (%g4) |
| 118 | * but that does not make sense anymore. | 118 | * but that does not make sense anymore. |
| 119 | */ | 119 | */ |
| 120 | #define PAGE_OFFSET _AC(0xFFFFF80000000000,UL) | 120 | #define MAX_SUPPORTED_PA_BITS 43 |
| 121 | #define PAGE_OFFSET_BY_BITS(X) (-(_AC(1,UL) << (X))) | ||
| 122 | #define PAGE_OFFSET PAGE_OFFSET_BY_BITS(MAX_SUPPORTED_PA_BITS) | ||
| 121 | 123 | ||
| 122 | #ifndef __ASSEMBLY__ | 124 | #ifndef __ASSEMBLY__ |
| 123 | 125 | ||
