diff options
author | Ido Yariv <ido@wizery.com> | 2012-06-11 09:56:45 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-06-14 10:42:10 (GMT) |
commit | c35f77417ebfc7c21c02aa9c8c30aa4cecf331d6 (patch) | |
tree | c9aaf838b3542cf08a3d5f270bb457c151446fbd /arch/x86/include/asm/smp.h | |
parent | b0a4c6f2e3fce088eb597d4b9ee2075cb6399ee1 (diff) | |
download | linux-fsl-qoriq-c35f77417ebfc7c21c02aa9c8c30aa4cecf331d6.tar.xz |
x86: Define early read-mostly per-cpu macros
Some read-mostly per-cpu data may need to be declared or defined
early, so it can be initialized and accessed before per_cpu
areas are allocated.
Only the data that resides in the per_cpu areas should be
read-mostly, as there is little benefit in optimizing cache
lines on initialization.
Signed-off-by: Ido Yariv <ido@wizery.com>
[ Added the missing declarations in !SMP code. ]
Signed-off-by: Vlad Zolotarov <vlad@scalemp.com>
Acked-by: Shai Fultheim <shai@scalemp.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/46188571.ddB8aVQYWo@vlad
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/smp.h')
0 files changed, 0 insertions, 0 deletions