Sukadev Bhattiprolu
442053e57a
powerpc/perf/24x7: Fix lockdep warning
The sysfs attributes for the 24x7 counters are dynamically allocated.
Initialize the attributes using sysfs_attr_init() to fix following
warning which occurs when CONFIG_DEBUG_LOCK_VMALLOC=y.
[ 0.346249] audit: initializing netlink subsys (disabled)
[ 0.346284] audit: type=2000 audit(1436295254.340:1): initialized
[ 0.346489] BUG: key c0000000efe90198 not in .data!
[ 0.346491] DEBUG_LOCKS_WARN_ON(1)
[ 0.346502] ------------[ cut here ]------------
[ 0.346504] WARNING: at ../kernel/locking/lockdep.c:3002
[ 0.346506] Modules linked in:
Reported-by: Gustavo Luiz Duarte <gustavold@linux.vnet.ibm.com>
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Tested-by: Gustavo Luiz Duarte <gustavold@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-07-08 15:18:04 +10:00
..
2015-07-01 19:40:18 -07:00
2015-06-19 17:23:48 +10:00
2015-05-18 12:20:20 +08:00
2015-06-26 09:52:05 -07:00
2015-07-07 10:16:52 +10:00
2015-06-24 09:36:49 -07:00
2015-06-24 08:46:32 -07:00
2014-04-07 10:33:11 +10:00
2015-07-06 20:24:35 +10:00
2015-02-20 15:19:43 -05:00
2015-04-17 09:04:11 -04:00
2015-07-08 15:18:04 +10:00
2015-07-06 20:24:36 +10:00
2015-07-06 20:24:36 +10:00
2015-02-11 18:15:38 -08:00
2015-05-28 15:31:53 +02:00
2015-05-11 19:53:59 +10:00
2015-06-11 17:33:05 +10:00
2015-03-23 14:47:39 +11:00