![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef _ASM_POWERPC_PERCPU_H_ 0003 #define _ASM_POWERPC_PERCPU_H_ 0004 #ifdef __powerpc64__ 0005 0006 /* 0007 * Same as asm-generic/percpu.h, except that we store the per cpu offset 0008 * in the paca. Based on the x86-64 implementation. 0009 */ 0010 0011 #ifdef CONFIG_SMP 0012 0013 #define __my_cpu_offset local_paca->data_offset 0014 0015 #endif /* CONFIG_SMP */ 0016 #endif /* __powerpc64__ */ 0017 0018 #include <asm-generic/percpu.h> 0019 0020 #include <asm/paca.h> 0021 0022 #endif /* _ASM_POWERPC_PERCPU_H_ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |