diff options
author | Dave Kleikamp <shaggy@linux.vnet.ibm.com> | 2011-07-04 14:38:03 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2011-07-12 09:21:55 -0400 |
commit | 91b191c71eae79c0e652c52a968d06cd96b539c5 (patch) | |
tree | f1f0aeccbba77d3a89dfbc951578570e35debe7f /arch/powerpc/include/asm/mmu.h | |
parent | 112d1fe9f7715db423ffeec5ac1beccff6093dc4 (diff) |
powerpc/44x: don't use tlbivax on AMP systems
Since other OS's may be running on the other cores don't use tlbivax
Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/include/asm/mmu.h')
-rw-r--r-- | arch/powerpc/include/asm/mmu.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/mmu.h b/arch/powerpc/include/asm/mmu.h index 4138b21ae80a..bb5591f424b3 100644 --- a/arch/powerpc/include/asm/mmu.h +++ b/arch/powerpc/include/asm/mmu.h | |||
@@ -120,9 +120,14 @@ static inline int mmu_has_feature(unsigned long feature) | |||
120 | return (cur_cpu_spec->mmu_features & feature); | 120 | return (cur_cpu_spec->mmu_features & feature); |
121 | } | 121 | } |
122 | 122 | ||
123 | static inline void mmu_clear_feature(unsigned long feature) | ||
124 | { | ||
125 | cur_cpu_spec->mmu_features &= ~feature; | ||
126 | } | ||
127 | |||
123 | extern unsigned int __start___mmu_ftr_fixup, __stop___mmu_ftr_fixup; | 128 | extern unsigned int __start___mmu_ftr_fixup, __stop___mmu_ftr_fixup; |
124 | 129 | ||
125 | /* MMU initialization (64-bit only fo now) */ | 130 | /* MMU initialization */ |
126 | extern void early_init_mmu(void); | 131 | extern void early_init_mmu(void); |
127 | extern void early_init_mmu_secondary(void); | 132 | extern void early_init_mmu_secondary(void); |
128 | 133 | ||