diff options
Diffstat (limited to 'include/asm-ppc64/mmu.h')
| -rw-r--r-- | include/asm-ppc64/mmu.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/asm-ppc64/mmu.h b/include/asm-ppc64/mmu.h index 7bc42eb087ad..e0505acb77d9 100644 --- a/include/asm-ppc64/mmu.h +++ b/include/asm-ppc64/mmu.h | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | #define _PPC64_MMU_H_ | 14 | #define _PPC64_MMU_H_ |
| 15 | 15 | ||
| 16 | #include <linux/config.h> | 16 | #include <linux/config.h> |
| 17 | #include <asm/ppc_asm.h> /* for ASM_CONST */ | ||
| 17 | #include <asm/page.h> | 18 | #include <asm/page.h> |
| 18 | 19 | ||
| 19 | /* | 20 | /* |
| @@ -29,7 +30,7 @@ | |||
| 29 | 30 | ||
| 30 | /* Location of cpu0's segment table */ | 31 | /* Location of cpu0's segment table */ |
| 31 | #define STAB0_PAGE 0x6 | 32 | #define STAB0_PAGE 0x6 |
| 32 | #define STAB0_PHYS_ADDR (STAB0_PAGE<<PAGE_SHIFT) | 33 | #define STAB0_PHYS_ADDR (STAB0_PAGE<<12) |
| 33 | 34 | ||
| 34 | #ifndef __ASSEMBLY__ | 35 | #ifndef __ASSEMBLY__ |
| 35 | extern char initial_stab[]; | 36 | extern char initial_stab[]; |
| @@ -205,6 +206,10 @@ extern long native_hpte_insert(unsigned long hpte_group, unsigned long va, | |||
| 205 | unsigned long prpn, | 206 | unsigned long prpn, |
| 206 | unsigned long vflags, unsigned long rflags); | 207 | unsigned long vflags, unsigned long rflags); |
| 207 | 208 | ||
| 209 | extern long iSeries_hpte_bolt_or_insert(unsigned long hpte_group, | ||
| 210 | unsigned long va, unsigned long prpn, | ||
| 211 | unsigned long vflags, unsigned long rflags); | ||
| 212 | |||
| 208 | extern void stabs_alloc(void); | 213 | extern void stabs_alloc(void); |
| 209 | 214 | ||
| 210 | #endif /* __ASSEMBLY__ */ | 215 | #endif /* __ASSEMBLY__ */ |
