diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2009-07-29 17:00:15 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:53 -0700 |
commit | 45da89e559219d24a639f24a8d95a6c71d54736f (patch) | |
tree | 8036fa578c6b8305e25523dd2da9e62ac28ef33d /drivers/staging/hv/osd.c | |
parent | b7c947f04888b8bb2dc79832c10ede73c5b8dae2 (diff) | |
download | op-kernel-dev-45da89e559219d24a639f24a8d95a6c71d54736f.zip op-kernel-dev-45da89e559219d24a639f24a8d95a6c71d54736f.tar.gz |
Staging: hv: remove wrapper functions around kmap_
Remove PageMapVirtualAddress() and PageUnmapVirtualAddress() which
were wrappers around kmap_atomic() and kunmap_atomic()
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/osd.c')
-rw-r--r-- | drivers/staging/hv/osd.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/staging/hv/osd.c b/drivers/staging/hv/osd.c index f19b9c9..ad883c9 100644 --- a/drivers/staging/hv/osd.c +++ b/drivers/staging/hv/osd.c @@ -88,17 +88,6 @@ void PageFree(void* page, unsigned int count) __free_page(p);*/ } - -void* PageMapVirtualAddress(unsigned long Pfn) -{ - return kmap_atomic(pfn_to_page(Pfn), KM_IRQ0); -} - -void PageUnmapVirtualAddress(void* VirtAddr) -{ - kunmap_atomic(VirtAddr, KM_IRQ0); -} - void *MemMapIO(unsigned long phys, unsigned long size) { return (void*)GetVirtualAddress(phys); /* return ioremap_nocache(phys, size); */ |