projects
/
linux-2.4.21-pre4.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
import of ftp.dlink.com/GPL/DSMG-600_reB/ppclinux.tar.gz
[linux-2.4.21-pre4.git]
/
include
/
asm-sparc
/
div64.h
1
#ifndef __SPARC_DIV64
2
#define __SPARC_DIV64
3
4
/* We're not 64-bit, but... */
5
#define do_div(n,base) ({ \
6
int __res; \
7
__res = ((unsigned long) n) % (unsigned) base; \
8
n = ((unsigned long) n) / (unsigned) base; \
9
__res; })
10
11
#endif /* __SPARC_DIV64 */