OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-s390x/] [div64.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#ifndef __S390_DIV64
2
#define __S390_DIV64
3
 
4
#define do_div(n,base) ({ \
5
int __res; \
6
__res = ((unsigned long) n) % (unsigned) base; \
7
n = ((unsigned long) n) / (unsigned) base; \
8
__res; })
9
 
10
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.