summaryrefslogtreecommitdiffstats
path: root/kernel/taskstats.c
diff options
context:
space:
mode:
authorVegard Nossum <vegard.nossum@gmail.com>2008-07-25 10:48:55 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-25 19:53:47 +0200
commitb81f3ea92ba1fa676775677679889dc2a7f03c8b (patch)
treeec2d6dc99c1b6f7372a5d9bd3d3e75b79b2a899b /kernel/taskstats.c
parentper-task-delay-accounting: update document and getdelays.c for memory reclaim (diff)
downloadlinux-b81f3ea92ba1fa676775677679889dc2a7f03c8b.tar.xz
linux-b81f3ea92ba1fa676775677679889dc2a7f03c8b.zip
taskstats: remove initialization of static per-cpu variable
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>
Diffstat (limited to 'kernel/taskstats.c')
-rw-r--r--kernel/taskstats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/taskstats.c b/kernel/taskstats.c
index 06b17547f4e7..bd6be76303cf 100644
--- 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;