]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Don't expose clock vDSO functions when CPU has no timebase
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 19 Sep 2007 04:21:56 +0000 (14:21 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 19 Sep 2007 05:26:34 +0000 (15:26 +1000)
commitcc048e83c7a99670d6997c21d77cfcd40892b917
tree2d86484ddd3f2829d91be16da5458740444f2a08
parentabca40ba9be41ff7c5d28974414f0815e0efb4fe
[POWERPC] Don't expose clock vDSO functions when CPU has no timebase

We forgot to remove the clock_gettime, clock_getres and get_tbfreq vDSO
calls on CPUs that have no timebase such as 601 or 403 (old CPUs that have
different mechanisms and for which the vDSO code will not work properly).
This fixes it.

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