On 04/08/13 19:17, Anca Emanuel wrote:
Why do not use div_u64() ?
[quote]unsigned 64bit divide with 32bit divisor
This is the most common 64bit divide and should be used if possible,
as many 32bit archs can optimize this variant better than a full 64bit
divide.
[/quote]
- ep->cr
Why do not use div_u64() ?
[quote]unsigned 64bit divide with 32bit divisor
This is the most common 64bit divide and should be used if possible,
as many 32bit archs can optimize this variant better than a full 64bit
divide.
[/quote]
> - ep->credit += timespec_to_ns(&delta) / NSEC_PE
This patch fixes following build warning.
drivers/built-in.o: In function `oz_hcd_heartbeat':
>> (.text+0x30aadd): undefined reference to `__divdi3'
drivers/built-in.o: In function `oz_hcd_heartbeat':
>> (.text+0x30ac85): undefined reference to `__divdi3'
Signed-off-by: Rupesh Gujare
---
dri