Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162180
b: refs/heads/master
c: b7c947f
h: refs/heads/master
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent 336230e commit e94c5d7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f4888417083723c4f5cbfdf4895653279ffdc31e
refs/heads/master: b7c947f04888b8bb2dc79832c10ede73c5b8dae2
6 changes: 3 additions & 3 deletions trunk/drivers/staging/hv/Hv.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*
*/


#include <linux/vmalloc.h>
#include "include/logging.h"
#include "VmbusPrivate.h"

Expand Down Expand Up @@ -330,7 +330,7 @@ HvInit (
WriteMsr(HV_X64_MSR_HYPERCALL, hypercallMsr.AsUINT64);
}

VirtualFree(virtAddr);
vfree(virtAddr);
}
ret = -1;
DPRINT_EXIT(VMBUS);
Expand Down Expand Up @@ -370,7 +370,7 @@ HvCleanup (
{
hypercallMsr.AsUINT64 = 0;
WriteMsr(HV_X64_MSR_HYPERCALL, hypercallMsr.AsUINT64);
VirtualFree(gHvContext.HypercallPage);
vfree(gHvContext.HypercallPage);
gHvContext.HypercallPage = NULL;
}
}
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/hv/include/osd.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ static inline void do_cpuid(unsigned int op, unsigned int *eax, unsigned int *eb
/* Osd routines */

extern void* VirtualAllocExec(unsigned int size);
extern void VirtualFree(void* VirtAddr);

extern void* PageAlloc(unsigned int count);
extern void PageFree(void* page, unsigned int count);
Expand Down
5 changes: 0 additions & 5 deletions trunk/drivers/staging/hv/osd.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ void* VirtualAllocExec(unsigned int size)
#endif
}

void VirtualFree(void* VirtAddr)
{
return vfree(VirtAddr);
}

void* PageAlloc(unsigned int count)
{
void *p;
Expand Down

0 comments on commit e94c5d7

Please sign in to comment.