aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/interrupt.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-08-03 14:10:11 +0900
committerTejun Heo <tj@kernel.org>2009-08-04 01:29:24 +0900
commit3e352aa8ee2bd48f1a19c7742810b3a4a7ba605e (patch)
treea90566108225efefb1aaedc425b8bdcb72b389df /include/linux/interrupt.h
parentx86, percpu: Add 'percpu_read_stable()' interface for cacheable accesses (diff)
downloadwireguard-linux-3e352aa8ee2bd48f1a19c7742810b3a4a7ba605e.tar.xz
wireguard-linux-3e352aa8ee2bd48f1a19c7742810b3a4a7ba605e.zip
x86, percpu: Fix DECLARE/DEFINE_PER_CPU_PAGE_ALIGNED()
DECLARE/DEFINE_PER_CPU_PAGE_ALIGNED() put percpu variables in .page_aligned section without adding any alignment restrictions. Currently, this doesn't cause any problem because all users of the macros have explicit page alignment and page-sized but it's much safer to enforce page alignment from the macros. After all, it's what they claim to do. Add __aligned(PAGE_SIZE) to DECLARE/DEFINE_PER_CPU_PAGE_ALIGNED() and drop explicit alignment from it users. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'include/linux/interrupt.h')
0 files changed, 0 insertions, 0 deletions