summaryrefslogtreecommitdiff
path: root/include/asm-generic/percpu_types.h
blob: a095cea7fa203d71fb4b71703841e894e24200dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_GENERIC_PERCPU_TYPES_H_
#define _ASM_GENERIC_PERCPU_TYPES_H_

#ifndef __ASSEMBLER__
/*
 * __percpu_qual is the qualifier for the percpu named address space.
 *
 * Most architectures use generic named address space for percpu variables but
 * some architectures define percpu variables in different named address space.
 * E.g. on x86, percpu variable may be declared as being relative to the %fs or
 * %gs segments using __seg_fs or __seg_gs named address space qualifier.
 */
#ifndef __percpu_qual
# define __percpu_qual
#endif

#endif /* __ASSEMBLER__ */
#endif /* _ASM_GENERIC_PERCPU_TYPES_H_ */