提交 ed39aa6a 编写于 作者: B Bill Pemberton 提交者: Greg Kroah-Hartman

Staging: hv: Remove X2V_LINUX check

Remove preprocessor check for X2V_LINUX in osd.c
Signed-off-by: NBill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 dfe8b2d9
......@@ -168,15 +168,7 @@ void PageUnmapVirtualAddress(void* VirtAddr)
void *MemMapIO(unsigned long phys, unsigned long size)
{
#if X2V_LINUX
#ifdef __x86_64__
return (void*)(phys + 0xFFFF83000C000000);
#else /* i386 */
return (void*)(phys + 0xfb000000);
#endif
#else
return (void*)GetVirtualAddress(phys); /* return ioremap_nocache(phys, size); */
#endif
}
void MemUnmapIO(void *virt)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册