xref: /kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/internal.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci#ifndef ARCH_POWERPC_MM_BOOK3S64_INTERNAL_H
38c2ecf20Sopenharmony_ci#define ARCH_POWERPC_MM_BOOK3S64_INTERNAL_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#include <linux/jump_label.h>
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciextern bool stress_slb_enabled;
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciDECLARE_STATIC_KEY_FALSE(stress_slb_key);
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_cistatic inline bool stress_slb(void)
128c2ecf20Sopenharmony_ci{
138c2ecf20Sopenharmony_ci	return static_branch_unlikely(&stress_slb_key);
148c2ecf20Sopenharmony_ci}
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_civoid slb_setup_new_exec(void);
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci#endif /* ARCH_POWERPC_MM_BOOK3S64_INTERNAL_H */
19

Indexes created Thu Nov 07 10:32:03 CST 2024