summaryrefslogtreecommitdiffstats
path: root/kernel/kmod.c
diff options
context:
space:
mode:
authorRusty Russell2009-03-31 21:05:34 +0200
committerRusty Russell2009-03-31 04:35:34 +0200
commit8c8ef42aee8fcfb4128bb94c50d55c9f80ade525 (patch)
tree58141fdd1afc0887dcc3cb91ab4c7609df0963e7 /kernel/kmod.c
parentmodule: remove the SHF_ALLOC flag on the __versions section. (diff)
downloadkernel-qcow2-linux-8c8ef42aee8fcfb4128bb94c50d55c9f80ade525.tar.gz
kernel-qcow2-linux-8c8ef42aee8fcfb4128bb94c50d55c9f80ade525.tar.xz
kernel-qcow2-linux-8c8ef42aee8fcfb4128bb94c50d55c9f80ade525.zip
module: include other structures in module version check
With CONFIG_MODVERSIONS, we version 'struct module' using a dummy export, but other things matter too: 1) 'struct modversion_info' determines the layout of the __versions section, 2) 'struct kernel_param' determines the layout of the __params section, 3) 'struct kernel_symbol' determines __ksymtab*. 4) 'struct marker' determines __markers. 5) 'struct tracepoint' determines __tracepoints. So we rename 'struct_module' to 'module_layout' and include these in the signature. Now it's general we can add others later on without confusion. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/kmod.c')
0 files changed, 0 insertions, 0 deletions