File: /usr/src/linux/include/asm-alpha/div64.h

1     #ifndef __ALPHA_DIV64
2     #define __ALPHA_DIV64
3     
4     /*
5      * Hey, we're already 64-bit, no
6      * need to play games..
7      */
8     #define do_div(n,base) ({ \
9     	int __res; \
10     	__res = ((unsigned long) (n)) % (unsigned) (base); \
11     	(n) = ((unsigned long) (n)) / (unsigned) (base); \
12     	__res; })
13     
14     #endif
15