Hi all,
I found the disunity of error messages and typo in perfmon.c.
This patch fixes it.
Thanks,
KAZ
Signed-off-by: Kazuhiro Suzuki <kaz@xxxxxxxxxxxxxx>
diff -r f378c424e0ce xen/arch/ia64/linux-xen/perfmon.c
--- a/xen/arch/ia64/linux-xen/perfmon.c Tue Apr 03 13:04:51 2007 -0600
+++ b/xen/arch/ia64/linux-xen/perfmon.c Thu Apr 05 17:03:33 2007 +0900
@@ -7471,8 +7471,8 @@ xenpfm_context_load(XEN_GUEST_HANDLE(pfa
spin_unlock(&xenpfm_context_lock);
for_each_online_cpu(cpu) {
if (arg.error[cpu]) {
- gdprintk(XENLOG_INFO, "%s: error %d cpu %d\n",
- __func__, error, cpu);
+ gdprintk(XENLOG_INFO, "%s: cpu %d error %d\n",
+ __func__, cpu, arg.error[cpu]);
error = arg.error[cpu];
}
}
@@ -7518,8 +7518,8 @@ xenpfm_context_unload(void)
spin_unlock(&xenpfm_context_lock);
for_each_online_cpu(cpu) {
if (arg.error[cpu]) {
- gdprintk(XENLOG_INFO, "%s: error %d cpu %d\n",
- __func__, error, cpu);
+ gdprintk(XENLOG_INFO, "%s: cpu %d error %d\n",
+ __func__, cpu, arg.error[cpu]);
error = arg.error[cpu];
}
}
@@ -7699,7 +7699,7 @@ xenpfm_start_stop_locked(int is_start)
local_irq_restore(flags);
for_each_online_cpu(cpu) {
- if (!arg.error[cpu]) {
+ if (arg.error[cpu]) {
gdprintk(XENLOG_INFO, "%s: cpu %d error %d\n",
__func__, cpu, arg.error[cpu]);
error = arg.error[cpu];
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|