diff options
author | Cody P Schafer <cody@linux.vnet.ibm.com> | 2014-04-15 13:10:50 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-04-27 23:11:25 -0400 |
commit | e98bf005d5feafb3a089868420c1f3743d304e14 (patch) | |
tree | 8b921f9574c8526af63666d8ce1908a181a47e91 /arch/powerpc | |
parent | 29ef7a3e26283606f181000b11e5fd37d73ab98f (diff) |
powerpc/perf/hv_24x7: Probe errors changed to pr_debug(), padding fixed
fixup for "powerpc/perf: Add support for the hv 24x7 interface"
Makes the "not enabled" message less awful (and hides it in most cases).
Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/perf/hv-24x7.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/perf/hv-24x7.c b/arch/powerpc/perf/hv-24x7.c index 297c91051413..f5bca73d92b8 100644 --- a/arch/powerpc/perf/hv-24x7.c +++ b/arch/powerpc/perf/hv-24x7.c | |||
@@ -485,13 +485,13 @@ static int hv_24x7_init(void) | |||
485 | struct hv_perf_caps caps; | 485 | struct hv_perf_caps caps; |
486 | 486 | ||
487 | if (!firmware_has_feature(FW_FEATURE_LPAR)) { | 487 | if (!firmware_has_feature(FW_FEATURE_LPAR)) { |
488 | pr_info("not a virtualized system, not enabling\n"); | 488 | pr_debug("not a virtualized system, not enabling\n"); |
489 | return -ENODEV; | 489 | return -ENODEV; |
490 | } | 490 | } |
491 | 491 | ||
492 | hret = hv_perf_caps_get(&caps); | 492 | hret = hv_perf_caps_get(&caps); |
493 | if (hret) { | 493 | if (hret) { |
494 | pr_info("could not obtain capabilities, error 0x%80lx, not enabling\n", | 494 | pr_debug("could not obtain capabilities, not enabling, rc=%ld\n", |
495 | hret); | 495 | hret); |
496 | return -ENODEV; | 496 | return -ENODEV; |
497 | } | 497 | } |