From: adilger Date: Fri, 6 Jun 2003 21:08:04 +0000 (+0000) Subject: Fix braces around math, so GCC doesn't complain on ia64. X-Git-Tag: v1_7_100~1^91~140 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=337fd668f09b797a44a5b4f10cb33f3dc51cd353;p=fs%2Flustre-release.git Fix braces around math, so GCC doesn't complain on ia64. --- diff --git a/lnet/include/linux/kp30.h b/lnet/include/linux/kp30.h index 5427a29..25637b3 100644 --- a/lnet/include/linux/kp30.h +++ b/lnet/include/linux/kp30.h @@ -85,7 +85,8 @@ extern unsigned int portal_printk; #endif #ifdef __ia64__ #define CDEBUG_STACK() (THREAD_SIZE - \ - (unsigned long)__builtin_dwarf_cfa()&(THREAD_SIZE - 1)) + ((unsigned long)__builtin_dwarf_cfa() & \ + (THREAD_SIZE - 1))) #else #define CDEBUG_STACK() (THREAD_SIZE - \ ((unsigned long)__builtin_frame_address(0) & \ diff --git a/lustre/portals/include/linux/kp30.h b/lustre/portals/include/linux/kp30.h index 5427a29..25637b3 100644 --- a/lustre/portals/include/linux/kp30.h +++ b/lustre/portals/include/linux/kp30.h @@ -85,7 +85,8 @@ extern unsigned int portal_printk; #endif #ifdef __ia64__ #define CDEBUG_STACK() (THREAD_SIZE - \ - (unsigned long)__builtin_dwarf_cfa()&(THREAD_SIZE - 1)) + ((unsigned long)__builtin_dwarf_cfa() & \ + (THREAD_SIZE - 1))) #else #define CDEBUG_STACK() (THREAD_SIZE - \ ((unsigned long)__builtin_frame_address(0) & \