Whamcloud - gitweb
Fix braces around math, so GCC doesn't complain on ia64.
authoradilger <adilger>
Fri, 6 Jun 2003 21:08:04 +0000 (21:08 +0000)
committeradilger <adilger>
Fri, 6 Jun 2003 21:08:04 +0000 (21:08 +0000)
lnet/include/linux/kp30.h
lustre/portals/include/linux/kp30.h

index 5427a29..25637b3 100644 (file)
@@ -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) &       \
index 5427a29..25637b3 100644 (file)
@@ -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) &       \