]> err.no Git - linux-2.6/commit
[PATCH] ppc32: set smp_tb_synchronized on UP with SMP kernel
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 11 Dec 2005 02:41:50 +0000 (18:41 -0800)
committerPaul Mackerras <paulus@samba.org>
Mon, 12 Dec 2005 03:26:39 +0000 (14:26 +1100)
commitef969434005e772218c0b8086539804605070fa8
treef47f7edd35a4cb30d2d5155e3c26343481208649
parentb39f9485e6cfe1bf21b18b60fd8c631a72a1304d
[PATCH] ppc32: set smp_tb_synchronized on UP with SMP kernel

ppc32 kernel, when built with CONFIG_SMP and booted on a single CPU
machine, will not properly set smp_tb_synchronized, thus causing
gettimeofday() to not use the HW timebase and to be limited to jiffy
resolution.  This, among others, causes unacceptable pauses when launching
X.org.

Signed-Off-By: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc/kernel/smp.c