diff options
author | Richard Kennedy <richard@rsk.demon.co.uk> | 2011-05-19 16:55:25 -0600 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-05-19 16:55:25 +0930 |
commit | c5be0b2eb1ca05e0cd747f9c0ba552c6ee8827a0 (patch) | |
tree | 2252ad213e238dafec0d0a0d662ff1b53377b77a /kernel/module.c | |
parent | a288bd651f4180c224cfddf837a0416157a36661 (diff) | |
download | lwn-c5be0b2eb1ca05e0cd747f9c0ba552c6ee8827a0.tar.gz lwn-c5be0b2eb1ca05e0cd747f9c0ba552c6ee8827a0.zip |
module: reorder kparam_array to remove alignment padding on 64 bit builds
Reorder structure kparam_array to remove 8 bytes of alignment padding on
64 bit builds, dropping its size from 40 to 32 bytes.
Also update the macro module_param_array_named to initialise the
structure using its member names to allow it to be changed without
touching all its call sites.
'git grep' finds module_param_array in 1037 places so this patch will
save a small amount of data space across many modules.
Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions