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-02-02 17:56:39 +11:00
2013-04-26 16:11:11 +10:00
2015-04-17 11:23:39 +10:00
2015-06-02 13:26:38 +10:00
2015-01-29 23:44:18 -06:00
2013-01-10 17:00:56 +11:00
2013-08-07 18:38:04 -05:00
2015-02-02 17:56:38 +11:00
2015-02-02 17:56:38 +11:00
2015-07-08 15:18:04 +10:00
2015-04-11 20:49:21 +10:00
2015-02-02 17:56:39 +11:00
2015-02-02 17:56:38 +11:00
2015-02-02 17:56:39 +11:00
2015-02-02 17:56:39 +11:00
2015-02-02 17:56:39 +11:00
2014-03-24 09:48:32 +11:00
2014-07-28 14:30:47 +10:00
2014-07-28 14:30:47 +10:00
2014-07-28 14:30:47 +10:00
2014-07-28 14:30:47 +10:00
2014-07-28 14:30:47 +10:00
2014-03-24 09:48:23 +11:00
2014-07-28 14:30:47 +10:00
2014-07-28 14:30:58 +10:00
2014-07-28 14:30:47 +10:00