Commit b6f995cc authored by Stéphane Eranian's avatar Stéphane Eranian Committed by David Mosberger

[PATCH] ia64: fix icc compilation

parent 0ad7e0c6
...@@ -103,20 +103,22 @@ EXPORT_SYMBOL(ia64_save_scratch_fpregs); ...@@ -103,20 +103,22 @@ EXPORT_SYMBOL(ia64_save_scratch_fpregs);
#include <asm/unwind.h> #include <asm/unwind.h>
EXPORT_SYMBOL(unw_init_running); EXPORT_SYMBOL(unw_init_running);
#ifdef CONFIG_SMP #ifdef ASM_SUPPORTED
# if __GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 3) # ifdef CONFIG_SMP
# if __GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 3)
/* /*
* This is not a normal routine and we don't want a function descriptor for it, so we use * This is not a normal routine and we don't want a function descriptor for it, so we use
* a fake declaration here. * a fake declaration here.
*/ */
extern char ia64_spinlock_contention_pre3_4; extern char ia64_spinlock_contention_pre3_4;
EXPORT_SYMBOL(ia64_spinlock_contention_pre3_4); EXPORT_SYMBOL(ia64_spinlock_contention_pre3_4);
# else # else
/* /*
* This is not a normal routine and we don't want a function descriptor for it, so we use * This is not a normal routine and we don't want a function descriptor for it, so we use
* a fake declaration here. * a fake declaration here.
*/ */
extern char ia64_spinlock_contention; extern char ia64_spinlock_contention;
EXPORT_SYMBOL(ia64_spinlock_contention); EXPORT_SYMBOL(ia64_spinlock_contention);
# endif
# endif # 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