]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] ia64: fix icc compilation
authorStéphane Eranian <eranian@hpl.hp.com>
Mon, 26 Jan 2004 08:49:28 +0000 (00:49 -0800)
committerDavid Mosberger <davidm@tiger.hpl.hp.com>
Mon, 26 Jan 2004 08:49:28 +0000 (00:49 -0800)
arch/ia64/kernel/ia64_ksyms.c

index 22fbf39e93e616b5ad96f581345f30d1ac85cfb5..605c4e92a52b7742b5086022b0c9614303f39921 100644 (file)
@@ -103,20 +103,22 @@ EXPORT_SYMBOL(ia64_save_scratch_fpregs);
 #include <asm/unwind.h>
 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