ia64/xen-unstable

changeset 12465:30b1325e6452

[IA64] counter part of 12385:bfe3f8f35e87 xen-unstable.hg.

return -ENOSYS for undefined sub-functions.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author awilliam@xenbuild.aw
date Mon Nov 20 09:39:46 2006 -0700 (2006-11-20)
parents ac5330d4945a
children 3ef3ac573a9a
files xen/arch/ia64/xen/hypercall.c
line diff
     1.1 --- a/xen/arch/ia64/xen/hypercall.c	Wed Nov 15 12:15:34 2006 -0700
     1.2 +++ b/xen/arch/ia64/xen/hypercall.c	Mon Nov 20 09:39:46 2006 -0700
     1.3 @@ -453,7 +453,7 @@ static long do_physdev_op(int cmd, XEN_G
     1.4      }
     1.5  
     1.6      default:
     1.7 -        ret = -EINVAL;
     1.8 +        ret = -ENOSYS;
     1.9          break;
    1.10      }
    1.11  
    1.12 @@ -479,7 +479,7 @@ static long register_guest_callback(stru
    1.13          break;
    1.14  
    1.15      default:
    1.16 -        ret = -EINVAL;
    1.17 +        ret = -ENOSYS;
    1.18          break;
    1.19      }
    1.20  
    1.21 @@ -488,7 +488,7 @@ static long register_guest_callback(stru
    1.22  
    1.23  static long unregister_guest_callback(struct callback_unregister *unreg)
    1.24  {
    1.25 -    return -EINVAL ;
    1.26 +    return -EINVAL;
    1.27  }
    1.28  
    1.29  /* First time to add callback to xen/ia64, so let's just stick to
    1.30 @@ -525,7 +525,7 @@ static long do_callback_op(int cmd, XEN_
    1.31      break;
    1.32  
    1.33      default:
    1.34 -        ret = -EINVAL;
    1.35 +        ret = -ENOSYS;
    1.36          break;
    1.37      }
    1.38