summaryrefslogtreecommitdiff
path: root/include/linux/module.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2002-08-12 20:27:49 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-08-12 20:27:49 -0700
commita2314817f1e46d6596a5f86d8f7cd1def5e7846d (patch)
tree402a20644aa4af03fa8263d0e04bf856d56c7599 /include/linux/module.h
parent466e44bb94c10842f9e34b4692e01bd7210c2a89 (diff)
[PATCH] DECLARE_PER_CPU/DEFINE_PER_CPU patch
This old __per_cpu_data define wasn't enough if an arch wants to use the gcc __thread prefix (thread local storage), which needs to go *before* the type in the definition. So we have to go for a DECLARE macro, and while we're there, separate DECLARE and DEFINE, as definitions of per-cpu data cannot live in modules. This also means that accidental direct references to per-cpu variables will be caught at compile time.
Diffstat (limited to 'include/linux/module.h')
0 files changed, 0 insertions, 0 deletions