linux/arch/powerpc/mm/book3s64/internal.h
Ritesh Harjani (IBM) 4894e2fb7b powerpc/64s: Kill the unused argument of exit_lazy_flush_tlb
In previous patch we removed the only caller of exit_lazy_flush_tlb()
which was passing always_flush = false in it's second argument.

With that gone, all the callers of exit_lazy_flush_tlb() are local to
radix_pgtable.c and there is no need of an additional argument.

This patch does the required cleanup. There should not be any
functionality change in this patch.

Reviewed-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/6f96ea53588034312ae84f74b1e2fa9c4ce7cfd5.1773078178.git.ritesh.list@gmail.com
2026-03-17 13:56:37 +05:30

35 lines
792 B
C

/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef ARCH_POWERPC_MM_BOOK3S64_INTERNAL_H
#define ARCH_POWERPC_MM_BOOK3S64_INTERNAL_H
#include <linux/jump_label.h>
extern bool stress_slb_enabled;
DECLARE_STATIC_KEY_FALSE(stress_slb_key);
static inline bool stress_slb(void)
{
return static_branch_unlikely(&stress_slb_key);
}
extern bool stress_hpt_enabled;
DECLARE_STATIC_KEY_FALSE(stress_hpt_key);
static inline bool stress_hpt(void)
{
return static_branch_unlikely(&stress_hpt_key);
}
extern bool no_slb_preload;
DECLARE_STATIC_KEY_FALSE(no_slb_preload_key);
static inline bool slb_preload_disabled(void)
{
return static_branch_unlikely(&no_slb_preload_key);
}
void hpt_do_stress(unsigned long ea, unsigned long hpte_group);
#endif /* ARCH_POWERPC_MM_BOOK3S64_INTERNAL_H */