ia64/xen-unstable

changeset 13988:a42c58791d8a

ia64: Fix build failure
Signed-off-by: Alex WIlliamson <alex.williamson@hp.com>
author kfraser@localhost.localdomain
date Thu Feb 15 18:05:05 2007 +0000 (2007-02-15)
parents 5916fc1f9b16
children 2023386e38c4
files xen/arch/ia64/xen/mm.c
line diff
     1.1 --- a/xen/arch/ia64/xen/mm.c	Thu Feb 15 14:58:43 2007 +0000
     1.2 +++ b/xen/arch/ia64/xen/mm.c	Thu Feb 15 18:05:05 2007 +0000
     1.3 @@ -2077,10 +2077,10 @@ arch_memory_op(int op, XEN_GUEST_HANDLE(
     1.4                  mfn = virt_to_mfn(d->shared_info);
     1.5              break;
     1.6          case XENMAPSPACE_grant_table:
     1.7 -            spin_lock(d->grant_table->lock);
     1.8 -            if ( xatp.idx < nr_grant_frames(d->grant_table) )
     1.9 +            spin_lock(&d->grant_table->lock);
    1.10 +            if (xatp.idx < nr_grant_frames(d->grant_table))
    1.11                  mfn = virt_to_mfn(d->grant_table->shared) + xatp.idx;
    1.12 -            spin_unlock(d->grant_table->lock);
    1.13 +            spin_unlock(&d->grant_table->lock);
    1.14              break;
    1.15          default:
    1.16              break;