OSDN Git Service

[PATCH] powerpc: vdso fixes (take #2)
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 14 Nov 2005 03:55:58 +0000 (14:55 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 14 Nov 2005 05:35:58 +0000 (16:35 +1100)
commit0c37ec2aa88bd8a6aaeb284ff5c86f4c6d8e8469
treed70e4b48664b86a9abfe21ff26561318316fb9c2
parent50092b233afa96b4c9a4b24ac38199c34e0880cd
[PATCH] powerpc: vdso fixes (take #2)

This fixes various errors in the new functions added in the vDSO's,
I've now verified all functions on both 32 and 64 bits vDSOs. It also
fix a sign extension bug getting the initial time of day at boot that
could cause the monotonic clock value to be completely on bogus for
64 bits applications (with either the vDSO or the syscall) on
powermacs.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kernel/vdso32/datapage.S
arch/powerpc/kernel/vdso32/gettimeofday.S
arch/powerpc/kernel/vdso64/datapage.S
arch/powerpc/kernel/vdso64/gettimeofday.S
arch/powerpc/platforms/powermac/time.c
include/asm-powerpc/vdso_datapage.h