perf/x86/amd: Do not print an error when the device is not present
authorPeter Zijlstra <[email protected]>
Wed, 3 Jul 2013 07:55:42 +0000 (09:55 +0200)
committerIngo Molnar <[email protected]>
Fri, 5 Jul 2013 06:27:15 +0000 (08:27 +0200)
commit100ac5331519866afa9b000b10642b00cb6d03dd
treedfbf9b1aa0a198412636ed7078687c595df9ded2
parent7c6809ff2bd63d4c97ce9e0b94d39d5180842c48
perf/x86/amd: Do not print an error when the device is not present

As Linus said its not an error to not have an AMD IOMMU; esp.
when you're not even running on an AMD platform.

Reported-by: Linus Torvalds <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Acked-by: Suravee Suthikulpanit <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/cpu/perf_event_amd_iommu.c