URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-or32/] [div64.h] - Rev 1774
Go to most recent revision | Compare with Previous | Blame | View Log
#ifndef _OR32_DIV64 #define _OR32_DIV64 #define do_div(n,base) ({ \ int __res; \ __res = ((unsigned long) n) % (unsigned) base; \ n = ((unsigned long) n) / (unsigned) base; \ __res; }) #endif
Go to most recent revision | Compare with Previous | Blame | View Log