aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/perf_event_amd_iommu.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2013-09-06 22:53:35 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2013-09-06 22:53:35 -0400
commiteeca9fad52fc4bfdf42c38bfcf383e932eb3e9d6 (patch)
treecc51c880459d41c0e8d7576405bef4c987bc7aa0 /arch/x86/kernel/cpu/perf_event_amd_iommu.c
parentff6f83fc9d44db09997937c3475d525a6866fbb4 (diff)
parentb48a97be8e6c2afdba2f3b61fd88c3c7743fbd73 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
Merge upstream tree in order to reinstate crct10dif.
Diffstat (limited to 'arch/x86/kernel/cpu/perf_event_amd_iommu.c')
-rw-r--r--arch/x86/kernel/cpu/perf_event_amd_iommu.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86/kernel/cpu/perf_event_amd_iommu.c b/arch/x86/kernel/cpu/perf_event_amd_iommu.c
index 0db655ef3918..639d1289b1ba 100644
--- a/arch/x86/kernel/cpu/perf_event_amd_iommu.c
+++ b/arch/x86/kernel/cpu/perf_event_amd_iommu.c
@@ -491,10 +491,8 @@ static struct perf_amd_iommu __perf_iommu = {
491static __init int amd_iommu_pc_init(void) 491static __init int amd_iommu_pc_init(void)
492{ 492{
493 /* Make sure the IOMMU PC resource is available */ 493 /* Make sure the IOMMU PC resource is available */
494 if (!amd_iommu_pc_supported()) { 494 if (!amd_iommu_pc_supported())
495 pr_err("perf: amd_iommu PMU not installed. No support!\n");
496 return -ENODEV; 495 return -ENODEV;
497 }
498 496
499 _init_perf_amd_iommu(&__perf_iommu, "amd_iommu"); 497 _init_perf_amd_iommu(&__perf_iommu, "amd_iommu");
500 498