Re: [PATCHSET][2.6-test4][0/6]Support for HPET based timer - Take2

From: Linus Torvalds
Date: Sun Aug 31 2003 - 16:06:43 EST



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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/