summaryrefslogtreecommitdiff
path: root/drivers/staging/hv/Hv.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2009-07-29 17:00:13 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:01:53 -0700
commitb7c947f04888b8bb2dc79832c10ede73c5b8dae2 (patch)
tree590ef1050db69b55d478c6f04ebf8563db0aecdb /drivers/staging/hv/Hv.c
parentf4888417083723c4f5cbfdf4895653279ffdc31e (diff)
Staging: hv: remove wrapper function VirtualFree
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/Hv.c')
-rw-r--r--drivers/staging/hv/Hv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/hv/Hv.c b/drivers/staging/hv/Hv.c
index 36e0d860f14..334812fdc84 100644
--- a/drivers/staging/hv/Hv.c
+++ b/drivers/staging/hv/Hv.c
@@ -21,7 +21,7 @@
*
*/
-
+#include <linux/vmalloc.h>
#include "include/logging.h"
#include "VmbusPrivate.h"
@@ -330,7 +330,7 @@ Cleanup:
WriteMsr(HV_X64_MSR_HYPERCALL, hypercallMsr.AsUINT64);
}
- VirtualFree(virtAddr);
+ vfree(virtAddr);
}
ret = -1;
DPRINT_EXIT(VMBUS);
@@ -370,7 +370,7 @@ HvCleanup (
{
hypercallMsr.AsUINT64 = 0;
WriteMsr(HV_X64_MSR_HYPERCALL, hypercallMsr.AsUINT64);
- VirtualFree(gHvContext.HypercallPage);
+ vfree(gHvContext.HypercallPage);
gHvContext.HypercallPage = NULL;
}
}