Thread (2 messages) flat view 2 messages, 2 authors, 2008-02-08

Re: [PATCH] Fix powerpc vdso clock_getres().

From: Sean MacLennan <hidden>
Date: 2008-02-08 18:16:59

Tony Breeds wrote:
Since implementing highres timers on powerpc the clock_getres syscall
has reported different resolutions due to the vdso using the a low res
value.  In the patch d7f71674ad7c3c4467e48f6ab9e85516dae2720 
([POWERPC] Use a sensible default for clock_getres() in the VDSO), the
powerpc vdso was updated to use the correct value.

This fix doesn't work on older compilers.  Below is a fix for powerpc,
that introduces a new (generic) #define MONOTONIC_RES_NSEC which is
equal to the 64 value stored in KTIME_MONOTONIC_RES.
  
Just a confirmation that this patch fixed my compile issue. And I was 
using gcc-4.0.0.

Thanks,
   Sean
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help