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