diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-29 15:40:18 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:54 -0700 |
commit | bfc30aae73b6be57528059a9e03ce8674320e67b (patch) | |
tree | a94df22326528889e86f51d4634a66a416dbb38e /drivers/staging/hv/Hv.c | |
parent | fa56d361b07513cba87cc5c2b57f3f51248f89a8 (diff) |
Staging: hv: osd: add osd_ prefix to global functions
Put a "osd_" prefix on the osd.c functions in order for us to play nicer
in the kernel namespace.
Cc: 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.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/staging/hv/Hv.c b/drivers/staging/hv/Hv.c index 87dc62842003..9b096a853a99 100644 --- a/drivers/staging/hv/Hv.c +++ b/drivers/staging/hv/Hv.c @@ -267,8 +267,8 @@ HvInit ( if (gHvContext.GuestId == HV_LINUX_GUEST_ID) { /* Allocate the hypercall page memory */ - /* virtAddr = PageAlloc(1); */ - virtAddr = VirtualAllocExec(PAGE_SIZE); + /* virtAddr = osd_PageAlloc(1); */ + virtAddr = osd_VirtualAllocExec(PAGE_SIZE); if (!virtAddr) { @@ -520,14 +520,14 @@ HvSynicInit ( } else { - gHvContext.synICMessagePage[0] = PageAlloc(1); + gHvContext.synICMessagePage[0] = osd_PageAlloc(1); if (gHvContext.synICMessagePage[0] == NULL) { DPRINT_ERR(VMBUS, "unable to allocate SYNIC message page!!"); goto Cleanup; } - gHvContext.synICEventPage[0] = PageAlloc(1); + gHvContext.synICEventPage[0] = osd_PageAlloc(1); if (gHvContext.synICEventPage[0] == NULL) { DPRINT_ERR(VMBUS, "unable to allocate SYNIC event page!!"); @@ -587,12 +587,12 @@ Cleanup: { if (gHvContext.synICEventPage[0]) { - PageFree(gHvContext.synICEventPage[0],1); + osd_PageFree(gHvContext.synICEventPage[0],1); } if (gHvContext.synICMessagePage[0]) { - PageFree(gHvContext.synICMessagePage[0], 1); + osd_PageFree(gHvContext.synICMessagePage[0], 1); } } @@ -654,8 +654,8 @@ HvSynicCleanup( WriteMsr(HV_X64_MSR_SIEFP, siefp.AsUINT64); - PageFree(gHvContext.synICMessagePage[0], 1); - PageFree(gHvContext.synICEventPage[0], 1); + osd_PageFree(gHvContext.synICMessagePage[0], 1); + osd_PageFree(gHvContext.synICEventPage[0], 1); } DPRINT_EXIT(VMBUS); |