Whamcloud - gitweb
__arch_ia64__ is apparently not set, so we were hitting the gcc bug
authorpschwan <pschwan>
Wed, 4 Jun 2003 23:39:18 +0000 (23:39 +0000)
committerpschwan <pschwan>
Wed, 4 Jun 2003 23:39:18 +0000 (23:39 +0000)
and eating enormous amounts of stack on ia64.  Changed to __ia64__

lnet/include/linux/kp30.h
lustre/portals/include/linux/kp30.h

index 34a9bbc..0752b58 100644 (file)
@@ -83,7 +83,7 @@ extern unsigned int portal_printk;
 #ifndef __KERNEL__
 #define THREAD_SIZE 8192
 #endif
-#ifdef  __arch_ia64__
+#ifdef  __ia64__
 #define CDEBUG_STACK() ((unsigned long)__builtin_dwarf_cfa()&(THREAD_SIZE - 1))
 #else
 #define CDEBUG_STACK() (THREAD_SIZE -                                      \
index 34a9bbc..0752b58 100644 (file)
@@ -83,7 +83,7 @@ extern unsigned int portal_printk;
 #ifndef __KERNEL__
 #define THREAD_SIZE 8192
 #endif
-#ifdef  __arch_ia64__
+#ifdef  __ia64__
 #define CDEBUG_STACK() ((unsigned long)__builtin_dwarf_cfa()&(THREAD_SIZE - 1))
 #else
 #define CDEBUG_STACK() (THREAD_SIZE -                                      \