• Kumar Gala's avatar
    [PPC] Fix COMMON symbol warnings · 9c05e63e
    Kumar Gala authored
    We get the following warnings in various ARCH=ppc builds:
    
    WARNING: "ee_restarts" [arch/ppc/kernel/built-in] is COMMON symbol
    WARNING: "fee_restarts" [arch/ppc/kernel/built-in] is COMMON symbol
    WARNING: "htab_hash_searches" [arch/ppc/mm/built-in] is COMMON symbol
    WARNING: "next_slot" [arch/ppc/mm/built-in] is COMMON symbol
    WARNING: "mmu_hash_lock" [arch/ppc/mm/built-in] is COMMON symbol
    WARNING: "primary_pteg_full" [arch/ppc/mm/built-in] is COMMON symbol
    WARNING: "global_dbcr0" [arch/ppc/kernel/built-in] is COMMON symbol
    
    Switch to local symbols for ee_restarts, fee_restarts, and global_dbcr0 and
    global symbols for mmu_hash_lock, next_slot, primary_pteg_full, and
    htab_hash_searches.
    
    (except mmu_hash_lock which is global) and
    space directive instead.
    Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
    9c05e63e
entry.S 22.6 KB