# HG changeset patch
# User Hollis Blanchard <hollisb@xxxxxxxxxx>
# Node ID 899b84c2c9799eeb14d34eaaf60196f90573b28a
# Parent 49765c9a9eb4554f884c4c730438cf872fae9d9c
[LINUX] use KERN_ERR printk log level
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
arch/powerpc/platforms/xen/hcall.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff -r 49765c9a9eb4 -r 899b84c2c979 arch/powerpc/platforms/xen/hcall.c
--- a/arch/powerpc/platforms/xen/hcall.c Wed Aug 23 13:19:06 2006 -0500
+++ b/arch/powerpc/platforms/xen/hcall.c Wed Aug 23 13:19:37 2006 -0500
@@ -102,7 +102,7 @@ int HYPERVISOR_xen_version(int cmd, void
argsize = sizeof(xen_feature_info_t);
break;
default:
- printk("%s: unknown version cmd %d\n", __func__, cmd);
+ printk(KERN_ERR "%s: unknown version cmd %d\n", __func__, cmd);
return -ENOSYS;
}
rc = xencomm_create_mini(xc_area, XENCOMM_MINI_AREA,
@@ -170,7 +170,7 @@ int HYPERVISOR_grant_table_op(unsigned i
argsize = sizeof(struct gnttab_transfer);
break;
default:
- printk("%s: unknown grant table op %d\n", __func__, cmd);
+ printk(KERN_ERR "%s: unknown grant table op %d\n", __func__,
cmd);
return -ENOSYS;
}
@@ -222,7 +222,7 @@ int HYPERVISOR_sched_op(int cmd, void *a
argsize = sizeof(sched_remote_shutdown_t);
break;
default:
- printk("%s: unknown sched op %d\n", __func__, cmd);
+ printk(KERN_ERR "%s: unknown sched op %d\n", __func__, cmd);
return -ENOSYS;
}
@@ -368,7 +368,7 @@ static int xenppc_privcmd_dom0_op(privcm
break;
default:
- printk("%s: unknown dom0 cmd %d\n", __func__, kern_op.cmd);
+ printk(KERN_ERR "%s: unknown dom0 cmd %d\n", __func__,
kern_op.cmd);
return -ENOSYS;
}
@@ -432,7 +432,7 @@ int HYPERVISOR_memory_op(unsigned int cm
cmd, NULL);
break;
default:
- printk("%s: unknown grant table op %d\n", __func__, cmd);
+ printk(KERN_ERR "%s: unknown grant table op %d\n", __func__,
cmd);
ret = -ENOSYS;
}
xencomm_free(op_desc);
@@ -483,7 +483,7 @@ static int xenppc_privcmd_event_channel_
break;
default:
- printk("%s: unknown EVTCHNOP (%ld)\n",
+ printk(KERN_ERR "%s: unknown EVTCHNOP (%ld)\n",
__func__, hypercall->arg[0]);
return -EINVAL;
}
@@ -514,7 +514,7 @@ int arch_privcmd_hypercall(privcmd_hyper
case __HYPERVISOR_event_channel_op:
return xenppc_privcmd_event_channel_op(hypercall);
default:
- printk("%s: unknown hcall (%ld)\n", __func__, hypercall->op);
+ printk(KERN_ERR "%s: unknown hcall (%ld)\n", __func__,
hypercall->op);
/* fallthru */
/* below are the hcalls we know will fail and its ok */
case __HYPERVISOR_acm_op:
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|