Linux Kernel
3.7.1
|
#include <linux/types.h>
Go to the source code of this file.
Macros | |
#define | CLOBBER_MDR_CC "cc" |
#define | do_div(n, base) |
Functions | |
void | ____unhandled_size_in_do_div___ (void) |
asm ("mulu %2,%0 \n""divu %3,%0 \n":"=r"(result):"0"(val),"ir"(mult),"r"(div):CLOBBER_MDR_CC) | |
asm ("mul %2,%0 \n""div %3,%0 \n":"=r"(result):"0"(val),"ir"(mult),"r"(div):CLOBBER_MDR_CC) | |
Variables | |
static unsigned | mult |
static unsigned unsigned | div |
return | result |
asm | ( | "mulu % | 2, |
%0\n""divu% | 3 | ||
) |