Skip to content

Commit

Permalink
powerpc/perf/hv_24x7: Probe errors changed to pr_debug(), padding fixed
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Cody P Schafer authored and Benjamin Herrenschmidt committed Apr 28, 2014
1 parent 29ef7a3 commit e98bf00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/perf/hv-24x7.c
Original file line number Diff line number Diff line change
Expand Up @@ -485,13 +485,13 @@ static int hv_24x7_init(void)
struct hv_perf_caps caps;

if (!firmware_has_feature(FW_FEATURE_LPAR)) {
pr_info("not a virtualized system, not enabling\n");
pr_debug("not a virtualized system, not enabling\n");
return -ENODEV;
}

hret = hv_perf_caps_get(&caps);
if (hret) {
pr_info("could not obtain capabilities, error 0x%80lx, not enabling\n",
pr_debug("could not obtain capabilities, not enabling, rc=%ld\n",
hret);
return -ENODEV;
}
Expand Down

0 comments on commit e98bf00

Please sign in to comment.