[PATCH] [ppc64] Fix oprofile error messages

Anton Blanchard anton at samba.org
Tue Aug 17 04:13:29 EST 2004


Clean up an oprofile error message, it was missing a newline.

Signed-off-by: Anton Blanchard <anton at samba.org>

diff -puN arch/ppc64/kernel/sysfs.c~oprofile-5 arch/ppc64/kernel/sysfs.c
--- foobar2/arch/ppc64/kernel/sysfs.c~oprofile-5	2004-08-16 03:10:39.622631282 +1000
+++ foobar2-anton/arch/ppc64/kernel/sysfs.c	2004-08-16 03:23:08.337622810 +1000
@@ -147,8 +147,9 @@ void ppc64_enable_pmcs(void)
 			reset = 0;
 			ret = plpar_hcall_norets(H_PERFMON, set, reset);
 			if (ret)
-				printk(KERN_ERR "H_PERFMON call returned %d",
-				       ret);
+				printk(KERN_ERR "H_PERFMON call on cpu %u "
+						"returned %d\n",
+						smp_processor_id(), ret);
 			break;

 		default:
_

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list