[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080313002235.351414762@linux-m68k.org>
Date: Thu, 13 Mar 2008 01:22:35 +0100
From: zippel@...ux-m68k.org
To: linux-kernel@...r.kernel.org
Cc: akpm@...ux-foundation.org
Subject: [PATCH 0/4] [RFC] cleanup 64bit divide API
Hi,
The primary purpose of these patches is to introduce a signed divide,
which is useful for NTP. While I'm at it I cleaned up the API, so it
should be a little easier to use.
It uses a new header <linux/math64.h> for it instead of using
<asm-generic/div64.h>. asm-generic/div64.h has the problem of an
all-or-nothing approach, so any arch not using it has to implement the
whole API and usually it's enough to provide only one of them.
<linux/math64.h> allows to selectively functions as needed.
In the long term we can first depricate using <asm/div64.h> and even
later do_div() completely.
bye, Roman
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists