From b6f995ccf5ef80e52ab34bb9f3f8832c30c94f38 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Eranian?= Date: Mon, 26 Jan 2004 00:49:28 -0800 Subject: [PATCH] [PATCH] ia64: fix icc compilation --- arch/ia64/kernel/ia64_ksyms.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/ia64/kernel/ia64_ksyms.c b/arch/ia64/kernel/ia64_ksyms.c index 22fbf39e93e61..605c4e92a52b7 100644 --- a/arch/ia64/kernel/ia64_ksyms.c +++ b/arch/ia64/kernel/ia64_ksyms.c @@ -103,20 +103,22 @@ EXPORT_SYMBOL(ia64_save_scratch_fpregs); #include EXPORT_SYMBOL(unw_init_running); -#ifdef CONFIG_SMP -# if __GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 3) +#ifdef ASM_SUPPORTED +# 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 * a fake declaration here. */ extern char 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 * a fake declaration here. */ extern char ia64_spinlock_contention; EXPORT_SYMBOL(ia64_spinlock_contention); +# endif # endif #endif -- 2.53.0