On Thu, Mar 29, Jan Beulich wrote: > >>> On 27.03.18 at 11:26, <o...@aepfle.de> wrote: > > + khz_diff = cpu_khz > gtsc_khz ? > > + cpu_khz - gtsc_khz : gtsc_khz - cpu_khz; > abs() (or some variant of it, like __builtin_absl(), seeing that we > don't appear to have any abstraction right now)?
I see no other usage of *abs*. Really optimize that one-shot function? > d%d A for an unsigned type? But I see it is done elsewhere, so it must be correct. Olaf
signature.asc
Description: PGP signature
_______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel