Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
div64.h File Reference
#include <linux/types.h>

Go to the source code of this file.


#define CLOBBER_MDR_CC   "cc"
#define do_div(n, base)


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)


static unsigned mult
static unsigned unsigned div
return result

Macro Definition Documentation

#define CLOBBER_MDR_CC   "cc"

Definition at line 28 of file div64.h.

#define do_div (   n,

Definition at line 36 of file div64.h.

Function Documentation

void ____unhandled_size_in_do_div___ ( void  )
asm ( "mulu %  2,
%0\n""divu%  3 
asm ( "mul %  2,
%0\n""div 3 

Variable Documentation

static signed signed div
Initial value:
unsigned result

Definition at line 80 of file div64.h.

static signed mult

Definition at line 79 of file div64.h.

u8 result

Definition at line 91 of file div64.h.