Messages in this thread | | | Date | Sun, 31 Aug 2003 14:05:25 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: [PATCHSET][2.6-test4][0/6]Support for HPET based timer - Take 2 |
| |
On Fri, 29 Aug 2003, Erik Andersen wrote: > > gcc then generates code calling __udivdi3 and __umoddi3. Since > the kernel does not provide these, people keep reinventing them. > Perhaps it is time to kill off do_div and all its little friends > and simply copy __udivdi3 and __umoddi3 from libgcc.....
No. do_div() does _nothing_ like __udivdi3/__umoddi3.
Read the documentation.
Linus
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |