linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / arch / ppc / kernel / smp-tbsync.c
index 6a5694f..2c9cd95 100644 (file)
@@ -126,7 +126,8 @@ smp_generic_give_timebase( void )
        printk("Synchronizing timebase\n");
 
        /* if this fails then this kernel won't work anyway... */
-       tbsync = kzalloc( sizeof(*tbsync), GFP_KERNEL );
+       tbsync = kmalloc( sizeof(*tbsync), GFP_KERNEL );
+       memset( tbsync, 0, sizeof(*tbsync) );
        mb();
        running = 1;