aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ibm_emac/ibm_emac_debug.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2008-05-14 16:05:51 -0700
committerLinus Torvalds <[email protected]>2008-05-14 19:11:14 -0700
commit44c81433e8b05dbc85985d939046f10f95901184 (patch)
tree861801baf94a47c38f449f99aea6b5a0395f2f10 /drivers/net/ibm_emac/ibm_emac_debug.c
parentfd8a4221ad76df700ff34875c9fbc42302aa4ba3 (diff)
per_cpu: fix DEFINE_PER_CPU_SHARED_ALIGNED for modules
Current module loader lookups ".data.percpu" ELF section to perform per_cpu relocation. But DEFINE_PER_CPU_SHARED_ALIGNED() uses another section (".data.percpu.shared_aligned"), currently only handled in vmlinux.lds, not by module loader. To correct this problem, instead of adding logic into module loader, or using at build time a module.lds file for all arches to group ".data.percpu.shared_aligned" into ".data.percpu", just use ".data.percpu" for modules. Alignment requirements are correctly handled by ld and module loader. Signed-off-by: Eric Dumazet <[email protected]> Cc: Rusty Russell <[email protected]> Cc: Fenghua Yu <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/net/ibm_emac/ibm_emac_debug.c')
0 files changed, 0 insertions, 0 deletions