diff options
author | Tejun Heo <[email protected]> | 2009-10-29 22:34:14 +0900 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2009-10-29 22:34:14 +0900 |
commit | 0fe1e009541e925adc1748a605d8b66188e4b2ab (patch) | |
tree | e3c7238bcb865f14a288ffe6e9d37ea7dea1ec2a /scripts/basic/docproc.c | |
parent | c6e22f9e3e99cc221fe01a0cacf94a9da8a59c31 (diff) |
percpu: make percpu symbols in x86 unique
This patch updates percpu related symbols in x86 such that percpu
symbols are unique and don't clash with local symbols. This serves
two purposes of decreasing the possibility of global percpu symbol
collision and allowing dropping per_cpu__ prefix from percpu symbols.
* arch/x86/kernel/cpu/common.c: rename local variable to avoid collision
* arch/x86/kvm/svm.c: s/svm_data/sd/ for local variables to avoid collision
* arch/x86/kernel/cpu/cpu_debug.c: s/cpu_arr/cpud_arr/
s/priv_arr/cpud_priv_arr/
s/cpu_priv_count/cpud_priv_count/
* arch/x86/kernel/cpu/intel_cacheinfo.c: s/cpuid4_info/ici_cpuid4_info/
s/cache_kobject/ici_cache_kobject/
s/index_kobject/ici_index_kobject/
* arch/x86/kernel/ds.c: s/cpu_context/cpu_ds_context/
Partly based on Rusty Russell's "alloc_percpu: rename percpu vars
which cause name clashes" patch.
Signed-off-by: Tejun Heo <[email protected]>
Acked-by: (kvm) Avi Kivity <[email protected]>
Cc: Rusty Russell <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Marcelo Tosatti <[email protected]>
Cc: [email protected]
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions