# HG changeset patch # User yamahata@xxxxxxxxxxxxx # Date 1163558497 -32400 # Node ID 8debda82357b45e615bb89eda03bde370496253f # Parent 9c717478f71f41aab1a534df6ae901553093043b IA64 counter part of 12385:bfe3f8f35e87 xen-unstable.hg. return -ENOSYS for undefined sub-functions. PATCHNAME: return_enosys Signed-off-by: Isaku Yamahata diff -r 9c717478f71f -r 8debda82357b xen/arch/ia64/xen/hypercall.c --- a/xen/arch/ia64/xen/hypercall.c Wed Nov 15 11:35:09 2006 +0900 +++ b/xen/arch/ia64/xen/hypercall.c Wed Nov 15 11:41:37 2006 +0900 @@ -453,7 +453,7 @@ static long do_physdev_op(int cmd, XEN_G } default: - ret = -EINVAL; + ret = -ENOSYS; break; } @@ -479,7 +479,7 @@ static long register_guest_callback(stru break; default: - ret = -EINVAL; + ret = -ENOSYS; break; } @@ -488,7 +488,7 @@ static long register_guest_callback(stru static long unregister_guest_callback(struct callback_unregister *unreg) { - return -EINVAL ; + return -EINVAL; } /* First time to add callback to xen/ia64, so let's just stick to @@ -525,7 +525,7 @@ static long do_callback_op(int cmd, XEN_ break; default: - ret = -EINVAL; + ret = -ENOSYS; break; }