[POWERPC] Fix COMMON symbol warnings
authorKumar Gala <galak@kernel.crashing.org>
Mon, 14 May 2007 22:11:58 +0000 (17:11 -0500)
committerPaul Mackerras <paulus@samba.org>
Thu, 17 May 2007 11:10:15 +0000 (21:10 +1000)
commit991eb43af989002d5c7f4a2ff2a6c806a912b51b
tree77dae564489b60e46b54c87f23bacc36f7ddbf11
parent40ebbcbf23d5592f58712fca2ab406ff818e2d65
[POWERPC] Fix COMMON symbol warnings

We get the following warnings in various ARCH=powerpc builds:

WARNING: "ee_restarts" [arch/powerpc/kernel/built-in] is COMMON symbol
WARNING: "fee_restarts" [arch/powerpc/kernel/built-in] is COMMON symbol
WARNING: "htab_hash_searches" [arch/powerpc/mm/built-in] is COMMON symbol
WARNING: "next_slot" [arch/powerpc/mm/built-in] is COMMON symbol
WARNING: "mmu_hash_lock" [arch/powerpc/mm/built-in] is COMMON symbol
WARNING: "primary_pteg_full" [arch/powerpc/mm/built-in] is COMMON symbol
WARNING: "global_dbcr0" [arch/powerpc/kernel/built-in] is COMMON symbol

Switch to moving local symbols (except mmu_hash_lock which is global) and
space directive instead.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/kernel/entry_32.S
arch/powerpc/mm/hash_low_32.S