patch-2.3.29 linux/include/asm-alpha/div64.h
Next file: linux/include/asm-alpha/machvec.h
Previous file: linux/include/asm-alpha/core_tsunami.h
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Tue Nov 23 10:10:38 1999
- Orig file:
v2.3.28/linux/include/asm-alpha/div64.h
- Orig date:
Thu Nov 11 20:11:51 1999
diff -u --recursive --new-file v2.3.28/linux/include/asm-alpha/div64.h linux/include/asm-alpha/div64.h
@@ -7,8 +7,8 @@
*/
#define do_div(n,base) ({ \
int __res; \
- __res = ((unsigned long) n) % (unsigned) base; \
- n = ((unsigned long) n) / (unsigned) base; \
+ __res = ((unsigned long) (n)) % (unsigned) (base); \
+ (n) = ((unsigned long) (n)) / (unsigned) (base); \
__res; })
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)