[PATCH] powerpc: vdso 64bits gettimeofday bug
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 25 Feb 2006 21:09:00 +0000 (08:09 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 28 Feb 2006 05:25:54 +0000 (16:25 +1100)
commit634473db86502b6444c3cebd279a06e0b8737527
tree15b898352bc7fbfbc1a6cc9ef674eef89313dc59
parent827c1a6c1a5dcb2902fecfb648f9af6a532934eb
[PATCH] powerpc: vdso 64bits gettimeofday bug

A bug in the assembly code of the vdso can cause gettimeofday() to hang
or to return incorrect results. The wrong register was used to test for
pending updates of the calibration variables and to create a dependency
for subsequent loads. This fixes it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/vdso64/gettimeofday.S