Fix ppc symbols clash

This commit is contained in:
mio 2022-07-23 20:39:01 +08:00
parent 06a1858ffd
commit 6d283cf464
3 changed files with 24 additions and 0 deletions

View File

@ -1708,4 +1708,12 @@
#define ppc_dcr_init ppc_dcr_init_ppc #define ppc_dcr_init ppc_dcr_init_ppc
#define ppc_cpu_pir ppc_cpu_pir_ppc #define ppc_cpu_pir ppc_cpu_pir_ppc
#define ppc_irq_reset ppc_irq_reset_ppc #define ppc_irq_reset ppc_irq_reset_ppc
#define store_booke_tsr store_booke_tsr_ppc
#define get_pteg_offset32 get_pteg_offset32_ppc
#define ppc_booke_timers_init ppc_booke_timers_init_ppc
#define ppc_hash32_handle_mmu_fault ppc_hash32_handle_mmu_fault_ppc
#define gen_helper_store_booke_tsr gen_helper_store_booke_tsr_ppc
#define gen_helper_store_booke_tcr gen_helper_store_booke_tcr_ppc
#define store_booke_tcr store_booke_tcr_ppc
#define ppc_hash32_get_phys_page_debug ppc_hash32_get_phys_page_debug_ppc
#endif #endif

View File

@ -1708,4 +1708,12 @@
#define ppc_dcr_init ppc_dcr_init_ppc64 #define ppc_dcr_init ppc_dcr_init_ppc64
#define ppc_cpu_pir ppc_cpu_pir_ppc64 #define ppc_cpu_pir ppc_cpu_pir_ppc64
#define ppc_irq_reset ppc_irq_reset_ppc64 #define ppc_irq_reset ppc_irq_reset_ppc64
#define store_booke_tsr store_booke_tsr_ppc64
#define get_pteg_offset32 get_pteg_offset32_ppc64
#define ppc_booke_timers_init ppc_booke_timers_init_ppc64
#define ppc_hash32_handle_mmu_fault ppc_hash32_handle_mmu_fault_ppc64
#define gen_helper_store_booke_tsr gen_helper_store_booke_tsr_ppc64
#define gen_helper_store_booke_tcr gen_helper_store_booke_tcr_ppc64
#define store_booke_tcr store_booke_tcr_ppc64
#define ppc_hash32_get_phys_page_debug ppc_hash32_get_phys_page_debug_ppc64
#endif #endif

View File

@ -6264,6 +6264,14 @@ ppc_dcr_register \
ppc_dcr_init \ ppc_dcr_init \
ppc_cpu_pir \ ppc_cpu_pir \
ppc_irq_reset \ ppc_irq_reset \
store_booke_tsr \
get_pteg_offset32 \
ppc_booke_timers_init \
ppc_hash32_handle_mmu_fault \
gen_helper_store_booke_tsr \
gen_helper_store_booke_tcr \
store_booke_tcr \
ppc_hash32_get_phys_page_debug \
" "
ppc64_SYMBOLS=${ppc_SYMBOLS} ppc64_SYMBOLS=${ppc_SYMBOLS}