aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux/io.h
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2017-06-08 02:44:34 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2017-06-08 02:44:34 +0000
commit864092bcaa5aed15e40ab347d4dabe4060c11f4b (patch)
treea4db792b0f6b7b20272e772dce6c5e01bf0f9085 /sys/compat/linuxkpi/common/include/linux/io.h
parentd4a698487c3fb7886a44b2207f8637ab7d47b024 (diff)
downloadsrc-864092bcaa5aed15e40ab347d4dabe4060c11f4b.tar.gz
src-864092bcaa5aed15e40ab347d4dabe4060c11f4b.zip
Remove ARM and MIPS from linuxkpi ioremap_attr definition
ARM and MIPS fail universe builds. ARM and MIPS are missing the following: * VM_MEMATTR_WRITE_THROUGH * VM_MEMATTR_WRITE_COMBINING Pointy-hat to: jhibbits
Notes
Notes: svn path=/head/; revision=319675
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/io.h')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/io.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/io.h b/sys/compat/linuxkpi/common/include/linux/io.h
index 5eb58719fe07..a5891947a60e 100644
--- a/sys/compat/linuxkpi/common/include/linux/io.h
+++ b/sys/compat/linuxkpi/common/include/linux/io.h
@@ -180,8 +180,7 @@ _outb(u_char data, u_int port)
}
#endif
-#if defined(__i386__) || defined(__amd64__) || \
- defined(__arm__) || defined(__mips__) || defined(__powerpc__)
+#if defined(__i386__) || defined(__amd64__) || defined(__powerpc__)
void *_ioremap_attr(vm_paddr_t phys_addr, unsigned long size, int attr);
#else
#define _ioremap_attr(...) NULL