more changes on original files
[linux-2.4.git] / include / asm-sparc64 / div64.h
1 #ifndef __SPARC64_DIV64
2 #define __SPARC64_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 /* __SPARC64_DIV64 */