blob: 0ac48d10701dc603338b02ce8fe42c4a3dd86f47 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#ifndef __ASM_SH_DIV64
#define __ASM_SH_DIV64
#define do_div(n,base) ({ \
int __res; \
__res = ((unsigned long) n) % (unsigned) base; \
n = ((unsigned long) n) / (unsigned) base; \
__res; })
#endif /* __ASM_SH_DIV64 */
|