Commit 8b6975d3 authored by Pete Zaitcev's avatar Pete Zaitcev Committed by David S. Miller

[SPARC]: Build problem in ksyms.

parent 1db49d95
...@@ -103,7 +103,8 @@ __attribute__((section("__ksymtab"))) = \ ...@@ -103,7 +103,8 @@ __attribute__((section("__ksymtab"))) = \
/* used by various drivers */ /* used by various drivers */
EXPORT_SYMBOL(sparc_cpu_model); EXPORT_SYMBOL(sparc_cpu_model);
EXPORT_SYMBOL(kernel_thread); EXPORT_SYMBOL(kernel_thread);
#ifdef SPIN_LOCK_DEBUG #ifdef CONFIG_DEBUG_SPINLOCK
#ifdef CONFIG_SMP
EXPORT_SYMBOL(_do_spin_lock); EXPORT_SYMBOL(_do_spin_lock);
EXPORT_SYMBOL(_do_spin_unlock); EXPORT_SYMBOL(_do_spin_unlock);
EXPORT_SYMBOL(_spin_trylock); EXPORT_SYMBOL(_spin_trylock);
...@@ -111,10 +112,12 @@ EXPORT_SYMBOL(_do_read_lock); ...@@ -111,10 +112,12 @@ EXPORT_SYMBOL(_do_read_lock);
EXPORT_SYMBOL(_do_read_unlock); EXPORT_SYMBOL(_do_read_unlock);
EXPORT_SYMBOL(_do_write_lock); EXPORT_SYMBOL(_do_write_lock);
EXPORT_SYMBOL(_do_write_unlock); EXPORT_SYMBOL(_do_write_unlock);
#endif
#else #else
EXPORT_SYMBOL_PRIVATE(_rw_read_enter); // XXX find what uses (or used) these.
EXPORT_SYMBOL_PRIVATE(_rw_read_exit); // EXPORT_SYMBOL_PRIVATE(_rw_read_enter);
EXPORT_SYMBOL_PRIVATE(_rw_write_enter); // EXPORT_SYMBOL_PRIVATE(_rw_read_exit);
// EXPORT_SYMBOL_PRIVATE(_rw_write_enter);
#endif #endif
/* semaphores */ /* semaphores */
EXPORT_SYMBOL(__up); EXPORT_SYMBOL(__up);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment