[PARISC] Fix CONFIG_DEBUG_SPINLOCK
Joel Soete points out that we refer to pa_tlb_lock but only define it if CONFIG_SMP which breaks a uniprocessor build with CONFIG_DEBUG_SPINLOCK enabled. No module refers to pa_tlb_lock, so we can delete the export. Signed-off-by: Matthew Wilcox <willy@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
This commit is contained in:
parent
32f4681392
commit
d207ac0f7c
@ -35,15 +35,12 @@ int icache_stride __read_mostly;
|
|||||||
EXPORT_SYMBOL(dcache_stride);
|
EXPORT_SYMBOL(dcache_stride);
|
||||||
|
|
||||||
|
|
||||||
#if defined(CONFIG_SMP)
|
|
||||||
/* On some machines (e.g. ones with the Merced bus), there can be
|
/* On some machines (e.g. ones with the Merced bus), there can be
|
||||||
* only a single PxTLB broadcast at a time; this must be guaranteed
|
* only a single PxTLB broadcast at a time; this must be guaranteed
|
||||||
* by software. We put a spinlock around all TLB flushes to
|
* by software. We put a spinlock around all TLB flushes to
|
||||||
* ensure this.
|
* ensure this.
|
||||||
*/
|
*/
|
||||||
DEFINE_SPINLOCK(pa_tlb_lock);
|
DEFINE_SPINLOCK(pa_tlb_lock);
|
||||||
EXPORT_SYMBOL(pa_tlb_lock);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct pdc_cache_info cache_info __read_mostly;
|
struct pdc_cache_info cache_info __read_mostly;
|
||||||
#ifndef CONFIG_PA20
|
#ifndef CONFIG_PA20
|
||||||
|
Loading…
Reference in New Issue
Block a user