X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fppc64%2Fkernel%2Fviopath.c;h=66a8102398fa73423a6671c9dfbffec0fca086c3;hb=9e1bf581d67d87a1d7fc0ea500729e3a03643a26;hp=a6e90222c1ad4eb5e4d89d2423d012a3cb4b5b62;hpb=8d40237c730b8be87c1b80a5d96b9c603fefa829;p=linux-2.6.git diff --git a/arch/ppc64/kernel/viopath.c b/arch/ppc64/kernel/viopath.c index a6e90222c..66a810239 100644 --- a/arch/ppc64/kernel/viopath.c +++ b/arch/ppc64/kernel/viopath.c @@ -473,7 +473,7 @@ static int allocateEvents(HvLpIndex remoteLp, int numEvents) parms.used_wait_atomic = 0; parms.sem = &Semaphore; } - mf_allocate_lp_events(remoteLp, HvLpEvent_Type_VirtualIo, 250, /* It would be nice to put a real number here! */ + mf_allocateLpEvents(remoteLp, HvLpEvent_Type_VirtualIo, 250, /* It would be nice to put a real number here! */ numEvents, &viopath_donealloc, &parms); if (in_atomic()) { while (atomic_read(&wait_atomic)) @@ -582,7 +582,7 @@ int viopath_close(HvLpIndex remoteLp, int subtype, int numReq) doneAllocParms.used_wait_atomic = 0; doneAllocParms.sem = &Semaphore; - mf_deallocate_lp_events(remoteLp, HvLpEvent_Type_VirtualIo, + mf_deallocateLpEvents(remoteLp, HvLpEvent_Type_VirtualIo, numReq, &viopath_donealloc, &doneAllocParms); down(&Semaphore);