Eric Dumazet 44c81433e8 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 <dada1@cosmosbay.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-05-14 19:11:14 -07:00
..
2008-04-23 23:00:13 -04:00
2008-05-08 18:04:02 +01:00
2008-05-14 10:05:18 -07:00
2008-05-05 12:38:50 -07:00
2008-05-12 16:46:55 +01:00
2008-05-12 22:57:51 +10:00
2008-05-11 15:47:05 -07:00
2008-04-17 11:31:58 +03:00
2008-04-29 08:06:12 -07:00
2008-04-24 23:57:33 +02:00