summaryrefslogtreecommitdiffstats
path: root/libdha/libdha.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdha/libdha.c')
-rw-r--r--libdha/libdha.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdha/libdha.c b/libdha/libdha.c
index 8771147017..fa8efe75ee 100644
--- a/libdha/libdha.c
+++ b/libdha/libdha.c
@@ -126,7 +126,6 @@ dev_mem_way:
mmap:
return mmap(0,size,PROT_READ|PROT_WRITE,MAP_SHARED,mem_fd,base);
}
-#endif /* Generic mmap (not win32, nor os2) */
void unmap_phys_mem(void *ptr, unsigned long size)
{
@@ -144,6 +143,8 @@ void unmap_phys_mem(void *ptr, unsigned long size)
return;
}
+#endif /* Generic mmap (not win32, nor os2) */
+
unsigned char INPORT8(unsigned idx)
{
return inb(idx);