From: pschwan Date: Wed, 4 Jun 2003 23:39:18 +0000 (+0000) Subject: __arch_ia64__ is apparently not set, so we were hitting the gcc bug X-Git-Tag: v1_7_100~1^91~150 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=d2d333f93981772b5e66db14deeb6eb88019a8a8;p=fs%2Flustre-release.git __arch_ia64__ is apparently not set, so we were hitting the gcc bug and eating enormous amounts of stack on ia64. Changed to __ia64__ --- diff --git a/lnet/include/linux/kp30.h b/lnet/include/linux/kp30.h index 34a9bbc..0752b58 100644 --- a/lnet/include/linux/kp30.h +++ b/lnet/include/linux/kp30.h @@ -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 - \ diff --git a/lustre/portals/include/linux/kp30.h b/lustre/portals/include/linux/kp30.h index 34a9bbc..0752b58 100644 --- a/lustre/portals/include/linux/kp30.h +++ b/lustre/portals/include/linux/kp30.h @@ -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 - \