/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_ARM_SYSTEM_MISC_H #define __ASM_ARM_SYSTEM_MISC_H #ifndef __ASSEMBLY__ #include <linux/compiler.h> #include <linux/linkage.h> #include <linux/irqflags.h> #include <linux/reboot.h> #include <linux/percpu.h> extern void cpu_init(void); void soft_restart(unsigned long); extern void (*arm_pm_restart)(enum reboot_mode reboot_mode, const char *cmd); extern void (*arm_pm_idle)(void); #ifdef CONFIG_HARDEN_BRANCH_PREDICTOR typedef void (*harden_branch_predictor_fn_t)(void); DECLARE_PER_CPU(harden_branch_predictor_fn_t, harden_branch_predictor_fn);
static inline void harden_branch_predictor(void) { harden_branch_predictor_fn_t fn = per_cpu(harden_branch_predictor_fn, smp_processor_id()); if (fn) fn(); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Russell King | 27 | 100.00% | 1 | 100.00% |
Total | 27 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Tyler Baicar | 18 | 100.00% | 1 | 100.00% |
Total | 18 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 77 | 45.03% | 1 | 16.67% |
Russell King | 59 | 34.50% | 1 | 16.67% |
Tyler Baicar | 18 | 10.53% | 1 | 16.67% |
Linus Torvalds | 10 | 5.85% | 1 | 16.67% |
Robin Holt | 6 | 3.51% | 1 | 16.67% |
Greg Kroah-Hartman | 1 | 0.58% | 1 | 16.67% |
Total | 171 | 100.00% | 6 | 100.00% |