Rev 1117 | Rev 1120 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1117 | Rev 1119 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | 24 | ||
25 | //#include |
25 | //#include |
Line 26... | Line 26... | ||
26 | //#include |
26 | //#include |
- | 27 | ||
Line 27... | Line 28... | ||
27 | 28 | #include |
|
Line 28... | Line 29... | ||
28 | #include |
29 | #include |
29 | 30 | ||
Line 605... | Line 606... | ||
605 | 606 | ||
606 | static void atom_op_delay(atom_exec_context *ctx, int *ptr, int arg) |
607 | static void atom_op_delay(atom_exec_context *ctx, int *ptr, int arg) |
607 | { |
608 | { |
608 | uint8_t count = U8((*ptr)++); |
609 | uint8_t count = U8((*ptr)++); |
609 | SDEBUG(" count: %d\n", count); |
610 | SDEBUG(" count: %d\n", count); |
610 | // if (arg == ATOM_UNIT_MICROSEC) |
611 | if (arg == ATOM_UNIT_MICROSEC) |
611 | // schedule_timeout_uninterruptible(usecs_to_jiffies(count)); |
612 | udelay(count); |
612 | // else |
613 | else |
613 | // schedule_timeout_uninterruptible(msecs_to_jiffies(count)); |
614 | mdelay(count); |
Line 614... | Line 615... | ||
614 | } |
615 | } |
615 | 616 | ||
616 | static void atom_op_div(atom_exec_context *ctx, int *ptr, int arg) |
617 | static void atom_op_div(atom_exec_context *ctx, int *ptr, int arg) |