Commit a4b54490 authored by David Mosberger's avatar David Mosberger

ia64: Fix UP build: ia64_spinlock_contention() is for SMP only.

parent c6bacd50
...@@ -182,10 +182,12 @@ EXPORT_SYMBOL(unw_access_fr); ...@@ -182,10 +182,12 @@ EXPORT_SYMBOL(unw_access_fr);
EXPORT_SYMBOL(unw_access_ar); EXPORT_SYMBOL(unw_access_ar);
EXPORT_SYMBOL(unw_access_pr); EXPORT_SYMBOL(unw_access_pr);
#if __GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 4) #ifdef CONFIG_SMP
# if __GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 4)
extern void ia64_spinlock_contention_pre3_4 (void); extern void ia64_spinlock_contention_pre3_4 (void);
EXPORT_SYMBOL(ia64_spinlock_contention_pre3_4); EXPORT_SYMBOL(ia64_spinlock_contention_pre3_4);
#else # else
extern void ia64_spinlock_contention (void); extern void ia64_spinlock_contention (void);
EXPORT_SYMBOL(ia64_spinlock_contention); EXPORT_SYMBOL(ia64_spinlock_contention);
# endif
#endif #endif
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