aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fs_struct.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2010-08-05 12:59:08 -0600
committerRusty Russell <rusty@rustcorp.com.au>2010-08-05 12:59:09 +0930
commitd913188c75191114051cf0bac75dad444c6080fa (patch)
tree1c32e48b3524f775ef9998f71b016d325205697b /fs/fs_struct.c
parent511ca6ae43fbe0a7c9e0b50ad275f7ef24ef3b58 (diff)
downloadkernel_samsung_smdk4412-d913188c75191114051cf0bac75dad444c6080fa.tar.gz
kernel_samsung_smdk4412-d913188c75191114051cf0bac75dad444c6080fa.tar.bz2
kernel_samsung_smdk4412-d913188c75191114051cf0bac75dad444c6080fa.zip
module: layout_and_allocate
layout_and_allocate() does everything up to and including the final struct module placement inside the allocated module memory. We have to store the symbol layout information in our struct load_info though. This avoids the nasty code we had before where 'mod' pointed first to the version inside the temporary allocation containing the entire file, then later was moved to point to the real struct module: now the main code only ever sees the final module address. (Includes fix for the Tony Luck-found Linus-diagnosed failure path error). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'fs/fs_struct.c')
0 files changed, 0 insertions, 0 deletions