Gilles Chanteperdrix wrote: > Sebastian Smolorz wrote: > > Ok, see my attached patch. But can we assume in all cases that > > ipipe_tsc2ns is used with a value smaller than a long long variable? The > > only usage of this macro so far is in __ipipe_print_delay() which calls > > it with a substraction of two unsigned long long variables. > > The patch using do_div also assumes that t * 1000 will never overflow 64 > bits. But I agree, it is less restrictive. > > >>What value is a 64 bits when it fails, > >>__ipipe_mach_ticks_per_jiffy or t ? > > > > Sorry, I'm not really sure what you mean here. > > Forget it, I got the answer, it is t that is a 64 bits value.
So which patch are you going to check in? -- Sebastian _______________________________________________ Adeos-main mailing list [email protected] https://mail.gna.org/listinfo/adeos-main
