]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/patches/suse-2.6.27.25/patches.suse/perfmon2-fix_disabled.patch
Updated xen patches taken from suse.
[people/teissler/ipfire-2.x.git] / src / patches / suse-2.6.27.25 / patches.suse / perfmon2-fix_disabled.patch
1 From: Tony Jones <tonyj@suse.de>
2 Subject: fix initializion of perfmon disabled
3 Patch-mainline: never
4
5 Initialize perfmon_disabled flag.
6
7 Signed-off-by: Tony Jones <tonyj@suse.de>
8
9 --- linux-2.6.27.orig/perfmon/perfmon_init.c
10 +++ linux-2.6.27/perfmon/perfmon_init.c
11 @@ -50,7 +50,7 @@ DEFINE_PER_CPU(struct pfm_stats, pfm_sta
12 DEFINE_PER_CPU(struct hrtimer, pfm_hrtimer);
13
14
15 -int perfmon_disabled; /* >0 if perfmon is disabled */
16 +int perfmon_disabled = 0; /* >0 if perfmon is disabled */
17
18 /*
19 * called from cpu_init() and pfm_pmu_register()