// SPDX-License-Identifier: GPL-2.0 /* * lib/smp_processor_id.c * * DEBUG_PREEMPT variant of smp_processor_id(). */ #include <linux/export.h> #include <linux/kprobes.h> #include <linux/sched.h> noinstr static unsigned int check_preemption_disabled(const char *what1, const char *what2) { … } noinstr unsigned int debug_smp_processor_id(void) { … } EXPORT_SYMBOL(…); noinstr void __this_cpu_preempt_check(const char *op) { … } EXPORT_SYMBOL(…);