diff options
author | 2010-03-10 18:56:10 +0900 | |
---|---|---|
committer | 2010-03-29 23:07:12 +0900 | |
commit | 259354deaaf03d49a02dbb9975d6ec2a54675672 (patch) | |
tree | a05fbdfecfa5c2924235ce2fb7618b3acdecaa16 /drivers/usb/misc/usbsevseg.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 (diff) | |
download | wireguard-linux-259354deaaf03d49a02dbb9975d6ec2a54675672.tar.xz wireguard-linux-259354deaaf03d49a02dbb9975d6ec2a54675672.zip |
module: encapsulate percpu handling better and record percpu_size
Better encapsulate module static percpu area handling so that code
outsidef of CONFIG_SMP ifdef doesn't deal with mod->percpu directly
and add mod->percpu_size and record percpu_size in it. Both percpu
fields are compiled out on UP. While at it, mark mod->percpu w/
__percpu.
This is to prepare for is_module_percpu_address().
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/usb/misc/usbsevseg.c')
0 files changed, 0 insertions, 0 deletions