]> git.karo-electronics.de Git - karo-tx-linux.git/commit
module: use a structure to encapsulate layout.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 25 Nov 2015 23:14:08 +0000 (09:44 +1030)
committerJiri Kosina <jkosina@suse.cz>
Fri, 4 Dec 2015 21:46:25 +0000 (22:46 +0100)
commit7523e4dc5057e157212b4741abd6256e03404cf1
tree034014d98dea3f675e8e138bc34bd4e0a860b12b
parentc65abf358f211c3f88c8ed714dff25775ab49fc1
module: use a structure to encapsulate layout.

Makes it easier to handle init vs core cleanly, though the change is
fairly invasive across random architectures.

It simplifies the rbtree code immediately, however, while keeping the
core data together in the same cachline (now iff the rbtree code is
enabled).

Acked-by: Peter Zijlstra <peterz@infradead.org>
Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
14 files changed:
arch/alpha/kernel/module.c
arch/arc/kernel/unwind.c
arch/arm/kernel/module-plts.c
arch/avr32/kernel/module.c
arch/ia64/kernel/module.c
arch/metag/kernel/module.c
arch/mips/kernel/vpe.c
arch/parisc/kernel/module.c
arch/powerpc/kernel/module_32.c
arch/s390/kernel/module.c
arch/x86/kernel/livepatch.c
include/linux/module.h
kernel/debug/kdb/kdb_main.c
kernel/module.c