diff options
Diffstat (limited to 'arch/powerpc/include/asm/machdep.h')
-rw-r--r-- | arch/powerpc/include/asm/machdep.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/arch/powerpc/include/asm/machdep.h b/arch/powerpc/include/asm/machdep.h index 92386fc4e82a..8b480901165a 100644 --- a/arch/powerpc/include/asm/machdep.h +++ b/arch/powerpc/include/asm/machdep.h | |||
@@ -36,13 +36,13 @@ struct machdep_calls { | |||
36 | #ifdef CONFIG_PPC64 | 36 | #ifdef CONFIG_PPC64 |
37 | void (*hpte_invalidate)(unsigned long slot, | 37 | void (*hpte_invalidate)(unsigned long slot, |
38 | unsigned long vpn, | 38 | unsigned long vpn, |
39 | int psize, int ssize, | 39 | int bpsize, int apsize, |
40 | int local); | 40 | int ssize, int local); |
41 | long (*hpte_updatepp)(unsigned long slot, | 41 | long (*hpte_updatepp)(unsigned long slot, |
42 | unsigned long newpp, | 42 | unsigned long newpp, |
43 | unsigned long vpn, | 43 | unsigned long vpn, |
44 | int psize, int ssize, | 44 | int bpsize, int apsize, |
45 | int local); | 45 | int ssize, int local); |
46 | void (*hpte_updateboltedpp)(unsigned long newpp, | 46 | void (*hpte_updateboltedpp)(unsigned long newpp, |
47 | unsigned long ea, | 47 | unsigned long ea, |
48 | int psize, int ssize); | 48 | int psize, int ssize); |
@@ -57,6 +57,9 @@ struct machdep_calls { | |||
57 | void (*hpte_removebolted)(unsigned long ea, | 57 | void (*hpte_removebolted)(unsigned long ea, |
58 | int psize, int ssize); | 58 | int psize, int ssize); |
59 | void (*flush_hash_range)(unsigned long number, int local); | 59 | void (*flush_hash_range)(unsigned long number, int local); |
60 | void (*hugepage_invalidate)(struct mm_struct *mm, | ||
61 | unsigned char *hpte_slot_array, | ||
62 | unsigned long addr, int psize); | ||
60 | 63 | ||
61 | /* special for kexec, to be called in real mode, linear mapping is | 64 | /* special for kexec, to be called in real mode, linear mapping is |
62 | * destroyed as well */ | 65 | * destroyed as well */ |