diff options
author | travis@sgi.com <travis@sgi.com> | 2008-01-30 23:27:58 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 23:27:58 +0100 |
commit | 6ddfee0e79e141550376177b355d6c90ba6da88c (patch) | |
tree | ed19ac446e1e4510712b87ee5dae4d6492324939 /include/asm-s390 | |
parent | 914c82694cadbab511f2aee8a59c89be2938bace (diff) | |
download | linux-3.10-6ddfee0e79e141550376177b355d6c90ba6da88c.tar.gz linux-3.10-6ddfee0e79e141550376177b355d6c90ba6da88c.tar.bz2 linux-3.10-6ddfee0e79e141550376177b355d6c90ba6da88c.zip |
modules: fold percpu_modcopy into module.c
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.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-s390')
-rw-r--r-- | include/asm-s390/percpu.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/asm-s390/percpu.h b/include/asm-s390/percpu.h index 2d676a87385..465d313ba2d 100644 --- a/include/asm-s390/percpu.h +++ b/include/asm-s390/percpu.h @@ -39,15 +39,6 @@ extern unsigned long __per_cpu_offset[NR_CPUS]; #define per_cpu(var,cpu) __reloc_hide(var,__per_cpu_offset[cpu]) #define per_cpu_offset(x) (__per_cpu_offset[x]) -/* A macro to avoid #include hell... */ -#define percpu_modcopy(pcpudst, src, size) \ -do { \ - unsigned int __i; \ - for_each_possible_cpu(__i) \ - memcpy((pcpudst)+__per_cpu_offset[__i], \ - (src), (size)); \ -} while (0) - #else /* ! SMP */ #define __get_cpu_var(var) __reloc_hide(var,0) |