]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PPC] Fix COMMON symbol warnings
authorKumar Gala <galak@kernel.crashing.org>
Mon, 14 May 2007 22:12:24 +0000 (17:12 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 23 May 2007 05:17:44 +0000 (00:17 -0500)
commit9c05e63e9180011e791c6c72ce38b45c1a3fa898
treefa65253db9ee0f835e41c94f4b4f49d65fded4d4
parent5453e7723b95958f4591b2e0063573d8d53e7699
[PPC] Fix COMMON symbol warnings

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: Kumar Gala <galak@kernel.crashing.org>
arch/ppc/kernel/entry.S
arch/ppc/mm/hashtable.S