URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [tags/] [LINUX_2_4_26_OR32/] [linux/] [linux-2.4/] [include/] [asm-x86_64/] [div64.h] - Rev 1780
Go to most recent revision | Compare with Previous | Blame | View Log
#ifndef __X86_64_DIV64 #define __X86_64_DIV64 /* * Hey, we're already 64-bit, no * need to play games.. */ #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