Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
davem
/
netdev-vger-cvs
/
cb17b3843db30da90ddd2571f7d796be51980e74
/
.
/
include
/
asm-sh
/
div64.h
blob: 0ac48d10701dc603338b02ce8fe42c4a3dd86f47 [
file
] [
log
] [
blame
]
#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 */