diff options
author | Kajol Jain <kjain@linux.ibm.com> | 2020-08-21 11:06:10 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-08-21 16:35:27 +0300 |
commit | 64ef8f2c4791940d7f3945507b6a45c20d959260 (patch) | |
tree | 35c1ec4e33a0cf4ab2743f5e8cfd8bac9dfb89f2 /drivers/pci/setup-bus.c | |
parent | 541cebb51f3422d4f2c6cb95c1e5cc3dcc9e5021 (diff) | |
download | linux-64ef8f2c4791940d7f3945507b6a45c20d959260.tar.xz |
powerpc/perf/hv-24x7: Move cpumask file to top folder of hv-24x7 driver
Commit 792f73f747b8 ("powerpc/hv-24x7: Add sysfs files inside hv-24x7
device to show cpumask") added cpumask file as part of hv-24x7 driver
inside the interface folder. The cpumask file is supposed to be in the
top folder of the PMU driver in order to make hotplug work.
This patch fixes that issue and creates new group 'cpumask_attr_group'
to add cpumask file and make sure it added in top folder.
command:# cat /sys/devices/hv_24x7/cpumask
0
Fixes: 792f73f747b8 ("powerpc/hv-24x7: Add sysfs files inside hv-24x7 device to show cpumask")
Signed-off-by: Kajol Jain <kjain@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200821080610.123997-1-kjain@linux.ibm.com
Diffstat (limited to 'drivers/pci/setup-bus.c')
0 files changed, 0 insertions, 0 deletions