cregit-Linux how code gets into the kernel

Release 4.14 arch/sparc/include/asm/percpu_64.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ARCH_SPARC64_PERCPU__

#define __ARCH_SPARC64_PERCPU__

#include <linux/compiler.h>

register unsigned long __local_per_cpu_offset asm("g5");

#ifdef CONFIG_SMP

#include <asm/trap_block.h>


#define __per_cpu_offset(__cpu) \
	(trap_block[(__cpu)].__per_cpu_base)

#define per_cpu_offset(x) (__per_cpu_offset(x))


#define __my_cpu_offset __local_per_cpu_offset

#else /* ! SMP */

#endif	/* SMP */

#include <asm-generic/percpu.h>

#endif /* __ARCH_SPARC64_PERCPU__ */

Overall Contributors

PersonTokensPropCommitsCommitProp
Sam Ravnborg5191.07%133.33%
David S. Miller47.14%133.33%
Greg Kroah-Hartman11.79%133.33%
Total56100.00%3100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.