patch-2.3.99-pre6 linux/include/asm-ia64/types.h

Next file: linux/include/asm-ia64/uaccess.h
Previous file: linux/include/asm-ia64/system.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/include/asm-ia64/types.h linux/include/asm-ia64/types.h
@@ -13,10 +13,10 @@
  */
 
 #ifdef __ASSEMBLY__
-# define __IA64_UL(x)		x
+# define __IA64_UL(x)		(x)
 # define __IA64_UL_CONST(x)	x
 #else
-# define __IA64_UL(x)		((unsigned long)x)
+# define __IA64_UL(x)		((unsigned long)(x))
 # define __IA64_UL_CONST(x)	x##UL
 #endif
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)