diff options
Diffstat (limited to 'arch/powerpc/include/asm/setup.h')
-rw-r--r-- | arch/powerpc/include/asm/setup.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/setup.h b/arch/powerpc/include/asm/setup.h index e9d384cbd021..7916b56f2e60 100644 --- a/arch/powerpc/include/asm/setup.h +++ b/arch/powerpc/include/asm/setup.h | |||
@@ -26,6 +26,19 @@ void initmem_init(void); | |||
26 | void setup_panic(void); | 26 | void setup_panic(void); |
27 | #define ARCH_PANIC_TIMEOUT 180 | 27 | #define ARCH_PANIC_TIMEOUT 180 |
28 | 28 | ||
29 | void rfi_flush_enable(bool enable); | ||
30 | |||
31 | /* These are bit flags */ | ||
32 | enum l1d_flush_type { | ||
33 | L1D_FLUSH_NONE = 0x1, | ||
34 | L1D_FLUSH_FALLBACK = 0x2, | ||
35 | L1D_FLUSH_ORI = 0x4, | ||
36 | L1D_FLUSH_MTTRIG = 0x8, | ||
37 | }; | ||
38 | |||
39 | void __init setup_rfi_flush(enum l1d_flush_type, bool enable); | ||
40 | void do_rfi_flush_fixups(enum l1d_flush_type types); | ||
41 | |||
29 | #endif /* !__ASSEMBLY__ */ | 42 | #endif /* !__ASSEMBLY__ */ |
30 | 43 | ||
31 | #endif /* _ASM_POWERPC_SETUP_H */ | 44 | #endif /* _ASM_POWERPC_SETUP_H */ |