projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b0975a
)
taskstats: remove initialization of static per-cpu variable
author
Vegard Nossum
<vegard.nossum@gmail.com>
Fri, 25 Jul 2008 08:48:55 +0000
(
01:48
-0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:47 +0000
(10:53 -0700)
Cc: Shailabh Nagar <nagar@watson.ibm.com>
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Cc: Balbir Singh <balbir@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/taskstats.c
patch
|
blob
|
history
diff --git
a/kernel/taskstats.c
b/kernel/taskstats.c
index
06b1754
..
bd6be76
100644
(file)
--- a/
kernel/taskstats.c
+++ b/
kernel/taskstats.c
@@
-35,7
+35,7
@@
*/
#define TASKSTATS_CPUMASK_MAXLEN (100+6*NR_CPUS)
-static DEFINE_PER_CPU(__u32, taskstats_seqnum)
= { 0 }
;
+static DEFINE_PER_CPU(__u32, taskstats_seqnum);
static int family_registered;
struct kmem_cache *taskstats_cache;