diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-29 22:39:27 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 19:01:53 (GMT) |
commit | fa56d361b07513cba87cc5c2b57f3f51248f89a8 (patch) | |
tree | b07a8b549d3c457637396b873534bc03e7180489 /drivers/staging/hv/Connection.c | |
parent | 4a66384567dfa68fb0bf6604842b1262e601d4a2 (diff) | |
download | linux-fsl-qoriq-fa56d361b07513cba87cc5c2b57f3f51248f89a8.tar.xz |
Staging: hv: osd: remove physical address wrapper functions
Use the real functions the kernel provides, so that people can see what
is actually going on in the code easier.
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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/hv/Connection.c b/drivers/staging/hv/Connection.c index d7091ad..960c417 100644 --- a/drivers/staging/hv/Connection.c +++ b/drivers/staging/hv/Connection.c @@ -110,9 +110,9 @@ VmbusConnect(void) msg->Header.MessageType = ChannelMessageInitiateContact; msg->VMBusVersionRequested = VMBUS_REVISION_NUMBER; - msg->InterruptPage = GetPhysicalAddress(gVmbusConnection.InterruptPage); - msg->MonitorPage1 = GetPhysicalAddress(gVmbusConnection.MonitorPages); - msg->MonitorPage2 = GetPhysicalAddress((void *)((unsigned long)gVmbusConnection.MonitorPages + PAGE_SIZE)); + msg->InterruptPage = virt_to_phys(gVmbusConnection.InterruptPage); + msg->MonitorPage1 = virt_to_phys(gVmbusConnection.MonitorPages); + msg->MonitorPage2 = virt_to_phys((void *)((unsigned long)gVmbusConnection.MonitorPages + PAGE_SIZE)); /* * Add to list before we send the request since we may |