aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ipmi/ipmi_smbios.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2006-09-22 22:16:20 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2006-09-22 22:16:20 +0000
commit157f14ae25408d84154f4042793fdd576ea13a4b (patch)
treead0dbf563e9f2495b7d2e55b872a18c36bb4fc6b /sys/dev/ipmi/ipmi_smbios.c
parentd72a078647de20e31ab09295e671f1b8b4ad89b2 (diff)
downloadsrc-157f14ae25408d84154f4042793fdd576ea13a4b.tar.gz
src-157f14ae25408d84154f4042793fdd576ea13a4b.zip
Map pmap_{un,}mapbios() to pmap_{un,}mapdev() on 6.x and earlier.
Notes
Notes: svn path=/head/; revision=162564
Diffstat (limited to 'sys/dev/ipmi/ipmi_smbios.c')
-rw-r--r--sys/dev/ipmi/ipmi_smbios.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/ipmi/ipmi_smbios.c b/sys/dev/ipmi/ipmi_smbios.c
index 8d2e4dcc596f..dbc11ed5c34e 100644
--- a/sys/dev/ipmi/ipmi_smbios.c
+++ b/sys/dev/ipmi/ipmi_smbios.c
@@ -47,6 +47,11 @@ __FBSDID("$FreeBSD$");
#include <dev/ipmi/ipmivars.h>
#endif
+#if __FreeBSD_version < 700020
+#define pmap_mapbios pmap_mapdev
+#define pmap_unmapbios pmap_unmapdev
+#endif
+
struct smbios_table_entry {
uint8_t anchor_string[4];
uint8_t checksum;