On 4 October 2012 01:37, Dave Hylands <[email protected]> wrote: . >> Using a U64 would allow me to support 19 digits, but there is no >> 64-bit division or modulus in the kernel which makes it more tricky. > > There is do_div (for all architectures) and div_u64_rem (for x86) in > <asm/div64.h>
I found do_div, but missed div_u64_rem. I'll give them a try tonight. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
