1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 2 #ifndef ARCH_POWERPC_MM_BOOK3S64_INTERNAL_H 3 #define ARCH_POWERPC_MM_BOOK3S64_INTERNAL_H 4 5 #include <linux/jump_label.h> 6 7 extern bool stress_slb_enabled; 8 9 DECLARE_STATIC_KEY_FALSE(stress_slb_key); 10 11 static inline bool stress_slb(void) 12 { 13 return static_branch_unlikely(&stress_ 14 } 15 16 extern bool stress_hpt_enabled; 17 18 DECLARE_STATIC_KEY_FALSE(stress_hpt_key); 19 20 static inline bool stress_hpt(void) 21 { 22 return static_branch_unlikely(&stress_ 23 } 24 25 void hpt_do_stress(unsigned long ea, unsigned 26 27 void slb_setup_new_exec(void); 28 29 void exit_lazy_flush_tlb(struct mm_struct *mm, 30 31 #endif /* ARCH_POWERPC_MM_BOOK3S64_INTERNAL_H 32
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.