Broken asm/div64.h macro

Momchil Velikov velco at
Sun Jan 27 09:51:42 EST 2002

>>>>> "Troy" == Troy Benjegerdes <hozer at> writes:

Troy> Our div64.h macro is quite broken, and causes printk to not be able to do
Troy> a long long format.

Troy> Is there a 'fast' generic C algorithm we can replace it with, instead of
Troy> mucking with ASM?

Hmm, I sent a patchlet to lkml with Subject: [PATCH] 64-bit divide tweaks.

Doesn't it work for you ?


** Sent via the linuxppc-dev mail list. See

More information about the Linuxppc-dev mailing list