setup.h (c74a7469f97c0f40b46e82ee979f9fb1bb6e847c) | setup.h (179ab1cbf883575c3a585bcfc0f2160f1d22a149) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _ASM_POWERPC_SETUP_H 3#define _ASM_POWERPC_SETUP_H 4 5#include <uapi/asm/setup.h> 6 7#ifndef __ASSEMBLY__ 8extern void ppc_printk_progress(char *s, unsigned short hex); --- 42 unchanged lines hidden (view full) --- 51}; 52 53void setup_rfi_flush(enum l1d_flush_type, bool enable); 54void do_rfi_flush_fixups(enum l1d_flush_type types); 55void setup_barrier_nospec(void); 56void do_barrier_nospec_fixups(bool enable); 57extern bool barrier_nospec_enabled; 58 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _ASM_POWERPC_SETUP_H 3#define _ASM_POWERPC_SETUP_H 4 5#include <uapi/asm/setup.h> 6 7#ifndef __ASSEMBLY__ 8extern void ppc_printk_progress(char *s, unsigned short hex); --- 42 unchanged lines hidden (view full) --- 51}; 52 53void setup_rfi_flush(enum l1d_flush_type, bool enable); 54void do_rfi_flush_fixups(enum l1d_flush_type types); 55void setup_barrier_nospec(void); 56void do_barrier_nospec_fixups(bool enable); 57extern bool barrier_nospec_enabled; 58 |
59#ifdef CONFIG_PPC_BOOK3S_64 | 59#ifdef CONFIG_PPC_BARRIER_NOSPEC |
60void do_barrier_nospec_fixups_range(bool enable, void *start, void *end); 61#else 62static inline void do_barrier_nospec_fixups_range(bool enable, void *start, void *end) { }; 63#endif 64 65#endif /* !__ASSEMBLY__ */ 66 67#endif /* _ASM_POWERPC_SETUP_H */ 68 | 60void do_barrier_nospec_fixups_range(bool enable, void *start, void *end); 61#else 62static inline void do_barrier_nospec_fixups_range(bool enable, void *start, void *end) { }; 63#endif 64 65#endif /* !__ASSEMBLY__ */ 66 67#endif /* _ASM_POWERPC_SETUP_H */ 68 |