[patch 03/14] Modules: Fold percpu_modcopy into module.c and get rid of the macro from hell

2007-11-26 Thread Christoph Lameter
percpu_modcopy() is defined multiple times in arch files. However, the only user is module.c. Put a static definition into module.c and remove the definitions from the arch files. Cc: Rusty Russell <[EMAIL PROTECTED]> Cc: Andi Kleen <[EMAIL PROTECTED]> Signed-off-by: Christoph Lameter <[EMAIL PROT

Modules: Fold percpu_modcopy into module.c and get rid of the macro from hell

2007-11-21 Thread Christoph Lameter
percpu_modcopy is defined multiple times in arch files. However, the only use is in module.c. Put a static definition into module.c and remove the definitions from the arch files. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- arch/ia64/kernel/module.c| 10 -- include/asm