git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
arch
/
ppc
/
kernel
/
smp-tbsync.c
diff --git
a/arch/ppc/kernel/smp-tbsync.c
b/arch/ppc/kernel/smp-tbsync.c
index
2c9cd95
..
6a5694f
100644
(file)
--- a/
arch/ppc/kernel/smp-tbsync.c
+++ b/
arch/ppc/kernel/smp-tbsync.c
@@
-126,8
+126,7
@@
smp_generic_give_timebase( void )
printk("Synchronizing timebase\n");
/* if this fails then this kernel won't work anyway... */
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;
mb();
running = 1;