xref: /linux/include/asm-generic/percpu_types.h (revision 764e77d868a5b932c709e20ddb5993f9111a841c)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_GENERIC_PERCPU_TYPES_H_
3 #define _ASM_GENERIC_PERCPU_TYPES_H_
4 
5 #ifndef __ASSEMBLER__
6 /*
7  * __percpu_qual is the qualifier for the percpu named address space.
8  *
9  * Most architectures use generic named address space for percpu variables but
10  * some architectures define percpu variables in different named address space.
11  * E.g. on x86, percpu variable may be declared as being relative to the %fs or
12  * %gs segments using __seg_fs or __seg_gs named address space qualifier.
13  */
14 #ifndef __percpu_qual
15 # define __percpu_qual
16 #endif
17 
18 #endif /* __ASSEMBLER__ */
19 #endif /* _ASM_GENERIC_PERCPU_TYPES_H_ */
20