From 337fd668f09b797a44a5b4f10cb33f3dc51cd353 Mon Sep 17 00:00:00 2001 From: adilger Date: Fri, 6 Jun 2003 21:08:04 +0000 Subject: [PATCH] Fix braces around math, so GCC doesn't complain on ia64. --- lnet/include/linux/kp30.h | 3 ++- lustre/portals/include/linux/kp30.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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) & \ -- 1.8.3.1