From 157f14ae25408d84154f4042793fdd576ea13a4b Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 22 Sep 2006 22:16:20 +0000 Subject: [PATCH] Map pmap_{un,}mapbios() to pmap_{un,}mapdev() on 6.x and earlier. --- sys/dev/ipmi/ipmi_smbios.c | 5 +++++ 1 file changed, 5 insertions(+) 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 #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;