diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-29 22:40:18 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 19:01:54 (GMT) |
commit | bfc30aae73b6be57528059a9e03ce8674320e67b (patch) | |
tree | a94df22326528889e86f51d4634a66a416dbb38e /drivers/staging/hv/Connection.c | |
parent | fa56d361b07513cba87cc5c2b57f3f51248f89a8 (diff) | |
download | linux-fsl-qoriq-bfc30aae73b6be57528059a9e03ce8674320e67b.tar.xz |
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/Connection.c')
-rw-r--r-- | drivers/staging/hv/Connection.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/hv/Connection.c b/drivers/staging/hv/Connection.c index 960c417..1736434 100644 --- a/drivers/staging/hv/Connection.c +++ b/drivers/staging/hv/Connection.c @@ -77,7 +77,7 @@ VmbusConnect(void) * Setup the vmbus event connection for channel interrupt * abstraction stuff */ - gVmbusConnection.InterruptPage = PageAlloc(1); + gVmbusConnection.InterruptPage = osd_PageAlloc(1); if (gVmbusConnection.InterruptPage == NULL) { ret = -1; @@ -91,7 +91,7 @@ VmbusConnect(void) * notification facility. The 1st page for parent->child and * the 2nd page for child->parent */ - gVmbusConnection.MonitorPages = PageAlloc(2); + gVmbusConnection.MonitorPages = osd_PageAlloc(2); if (gVmbusConnection.MonitorPages == NULL) { ret = -1; @@ -105,7 +105,7 @@ VmbusConnect(void) goto Cleanup; } - msgInfo->WaitEvent = WaitEventCreate(); + msgInfo->WaitEvent = osd_WaitEventCreate(); msg = (VMBUS_CHANNEL_INITIATE_CONTACT*)msgInfo->Msg; msg->Header.MessageType = ChannelMessageInitiateContact; @@ -135,7 +135,7 @@ VmbusConnect(void) } /* Wait for the connection response */ - WaitEventWait(msgInfo->WaitEvent); + osd_WaitEventWait(msgInfo->WaitEvent); REMOVE_ENTRY_LIST(&msgInfo->MsgListEntry); @@ -170,13 +170,13 @@ Cleanup: if (gVmbusConnection.InterruptPage) { - PageFree(gVmbusConnection.InterruptPage, 1); + osd_PageFree(gVmbusConnection.InterruptPage, 1); gVmbusConnection.InterruptPage = NULL; } if (gVmbusConnection.MonitorPages) { - PageFree(gVmbusConnection.MonitorPages, 2); + osd_PageFree(gVmbusConnection.MonitorPages, 2); gVmbusConnection.MonitorPages = NULL; } @@ -228,7 +228,7 @@ VmbusDisconnect( goto Cleanup; } - PageFree(gVmbusConnection.InterruptPage, 1); + osd_PageFree(gVmbusConnection.InterruptPage, 1); /* TODO: iterate thru the msg list and free up */ |