aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/percpu-defs.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/linux/percpu-defs.h b/include/linux/percpu-defs.h
index 68438e18fff4..afd5f8b7061f 100644
--- a/include/linux/percpu-defs.h
+++ b/include/linux/percpu-defs.h
@@ -69,11 +69,13 @@
69/* 69/*
70 * Declaration/definition used for per-CPU variables that must be page aligned. 70 * Declaration/definition used for per-CPU variables that must be page aligned.
71 */ 71 */
72#define DECLARE_PER_CPU_PAGE_ALIGNED(type, name) \ 72#define DECLARE_PER_CPU_PAGE_ALIGNED(type, name) \
73 DECLARE_PER_CPU_SECTION(type, name, ".page_aligned") 73 DECLARE_PER_CPU_SECTION(type, name, ".page_aligned") \
74 __aligned(PAGE_SIZE)
74 75
75#define DEFINE_PER_CPU_PAGE_ALIGNED(type, name) \ 76#define DEFINE_PER_CPU_PAGE_ALIGNED(type, name) \
76 DEFINE_PER_CPU_SECTION(type, name, ".page_aligned") 77 DEFINE_PER_CPU_SECTION(type, name, ".page_aligned") \
78 __aligned(PAGE_SIZE)
77 79
78/* 80/*
79 * Intermodule exports for per-CPU variables. 81 * Intermodule exports for per-CPU variables.