projects
/
linux-2.4.21-pre4.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
clean
[linux-2.4.21-pre4.git]
/
include
/
asm-x86_64
/
div64.h
1
#ifndef __X86_64_DIV64
2
#define __X86_64_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