diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/time.c | 5 | ||||
-rw-r--r-- | arch/powerpc/platforms/40x/ppc40x_simple.c | 3 |
2 files changed, 2 insertions, 6 deletions
diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c index b3b14352b05e..6f6b1cccc916 100644 --- a/arch/powerpc/kernel/time.c +++ b/arch/powerpc/kernel/time.c | |||
@@ -770,13 +770,8 @@ void update_vsyscall_old(struct timespec *wall_time, struct timespec *wtm, | |||
770 | 770 | ||
771 | void update_vsyscall_tz(void) | 771 | void update_vsyscall_tz(void) |
772 | { | 772 | { |
773 | /* Make userspace gettimeofday spin until we're done. */ | ||
774 | ++vdso_data->tb_update_count; | ||
775 | smp_mb(); | ||
776 | vdso_data->tz_minuteswest = sys_tz.tz_minuteswest; | 773 | vdso_data->tz_minuteswest = sys_tz.tz_minuteswest; |
777 | vdso_data->tz_dsttime = sys_tz.tz_dsttime; | 774 | vdso_data->tz_dsttime = sys_tz.tz_dsttime; |
778 | smp_mb(); | ||
779 | ++vdso_data->tb_update_count; | ||
780 | } | 775 | } |
781 | 776 | ||
782 | static void __init clocksource_init(void) | 777 | static void __init clocksource_init(void) |
diff --git a/arch/powerpc/platforms/40x/ppc40x_simple.c b/arch/powerpc/platforms/40x/ppc40x_simple.c index 969dddcf3320..8f3920e5a046 100644 --- a/arch/powerpc/platforms/40x/ppc40x_simple.c +++ b/arch/powerpc/platforms/40x/ppc40x_simple.c | |||
@@ -57,7 +57,8 @@ static const char * const board[] __initconst = { | |||
57 | "amcc,makalu", | 57 | "amcc,makalu", |
58 | "apm,klondike", | 58 | "apm,klondike", |
59 | "est,hotfoot", | 59 | "est,hotfoot", |
60 | "plathome,obs600" | 60 | "plathome,obs600", |
61 | NULL | ||
61 | }; | 62 | }; |
62 | 63 | ||
63 | static int __init ppc40x_probe(void) | 64 | static int __init ppc40x_probe(void) |