taskstats: remove initialization of static per-cpu variable
Subsystems (2)
PATCH 1/1 taskstats: remove initialization of static per-cpu variable
Hi Andrew,
The e-mail address of the maintainer (as listed in MAINTAINERS) gave me an error, so it goes to you instead.
Thanks.
Vegard
From: Vegard Nossum <[email protected]>
Date: Thu, 12 Jun 2008 22:08:45 +0200
Subject: [PATCH] taskstats: remove initialization of static per-cpu variable
Cc Shailabh Nagar <[email protected]>
Signed-off-by Vegard Nossum <[email protected]>
--- kernel/taskstats.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/taskstats.c +1 -1
@@ -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;
Signature · 1 line
1.5.4.1