]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
x86/events/amd/iommu: Fix sysfs perf attribute groups
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Fri, 24 Feb 2017 08:48:20 +0000 (02:48 -0600)
committerIngo Molnar <mingo@kernel.org>
Thu, 30 Mar 2017 07:55:34 +0000 (09:55 +0200)
commit51686546304fd7f778bb31bf7e2ae9bad6b1d21c
treeba7f2b7044300f760b2be8ede503c6697cbe1765
parent1650dfd1a9bcde8fcfaab776887bb6f4e91830c3
x86/events/amd/iommu: Fix sysfs perf attribute groups

Introduce static amd_iommu_attr_groups to simplify the
sysfs attributes initialization code.

Signed-off-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Jörg Rödel <joro@8bytes.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Cc: iommu@lists.linux-foundation.org
Link: http://lkml.kernel.org/r/1487926102-13073-9-git-send-email-Suravee.Suthikulpanit@amd.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/amd/iommu.c