ia64/xen-unstable

changeset 5255:f16ac5cfa153

bitkeeper revision 1.1627 (429dabd8oit_vtykkoDno8W9TS973g)

multicall.c:
Put multicall result in result field instead of args[5].
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Wed Jun 01 12:36:40 2005 +0000 (2005-06-01)
parents 3417d4aa3ff1
children 79fea09c3b44 cb48c33361cd
files xen/common/multicall.c
line diff
     1.1 --- a/xen/common/multicall.c	Wed Jun 01 09:51:11 2005 +0000
     1.2 +++ b/xen/common/multicall.c	Wed Jun 01 12:36:40 2005 +0000
     1.3 @@ -43,7 +43,7 @@ long do_multicall(multicall_entry_t *cal
     1.4  
     1.5          do_multicall_call(&mcs->call);
     1.6  
     1.7 -        if ( unlikely(__put_user(mcs->call.args[5], &call_list[i].args[5])) )
     1.8 +        if ( unlikely(__put_user(mcs->call.result, &call_list[i].result)) )
     1.9          {
    1.10              DPRINTK("Error writing result back to multicall block.\n");
    1.11              goto fault;