Messages in this thread | | | Date | Wed, 2 Jul 2003 08:56:47 +0100 | From | Russell King <> | Subject | Re: [PATCH] Kill div64.h dupes, parenthesize do_div() macro params |
| |
On Wed, Jul 02, 2003 at 07:57:59AM +0200, Andrea Arcangeli wrote: > this doesn't even sounds safe. If it's just for printing not a big deal,
It used to be only used in vsprintf. However, now it features in the kernels time code, and that rather screws things up if its implemented as a 32 by 32 operation.
Therefore, if architectures want a stable time subsystem, all architectures must provide a do_div() which is a 64 by 32 operation.
-- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html
- 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/
| |