[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] Fix typo in xen/arch/ia64/linux-xen/perfmon.c



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1175787026 21600
# Node ID 5d9ab2d06709823714682be14a6b8719bffdcd18
# Parent  81ba9d2267cbc3d654fbe9e6305f9f3f848ddfad
[IA64] Fix typo in xen/arch/ia64/linux-xen/perfmon.c

Fix disunity of error messages and typo in perfmon.c.

Signed-off-by: Kazuhiro Suzuki <kaz@xxxxxxxxxxxxxx>
---
 xen/arch/ia64/linux-xen/perfmon.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff -r 81ba9d2267cb -r 5d9ab2d06709 xen/arch/ia64/linux-xen/perfmon.c
--- a/xen/arch/ia64/linux-xen/perfmon.c Thu Apr 05 09:26:54 2007 -0600
+++ b/xen/arch/ia64/linux-xen/perfmon.c Thu Apr 05 09:30:26 2007 -0600
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.