diff options
author | jhb <jhb@FreeBSD.org> | 2006-09-22 22:16:20 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-09-22 22:16:20 +0000 |
commit | 27a1cd23f4f380a4eb1655bf0cdd2bfee51f1ca9 (patch) | |
tree | ad0dbf563e9f2495b7d2e55b872a18c36bb4fc6b /sys | |
parent | cdd54d372bfbeaef61a9ae75207eb95fcea95a5a (diff) | |
download | FreeBSD-src-27a1cd23f4f380a4eb1655bf0cdd2bfee51f1ca9.zip FreeBSD-src-27a1cd23f4f380a4eb1655bf0cdd2bfee51f1ca9.tar.gz |
Map pmap_{un,}mapbios() to pmap_{un,}mapdev() on 6.x and earlier.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ipmi/ipmi_smbios.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/ipmi/ipmi_smbios.c b/sys/dev/ipmi/ipmi_smbios.c index 8d2e4dc..dbc11ed 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; |