diff options
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/ia64/mem.c | 2 | ||||
-rw-r--r-- | sys/ia64/include/_types.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/ia64/ia64/mem.c b/sys/ia64/ia64/mem.c index f83da08..75b65ae 100644 --- a/sys/ia64/ia64/mem.c +++ b/sys/ia64/ia64/mem.c @@ -217,7 +217,7 @@ kmemphys: * instead of going through read/write * \*******************************************************/ static int -memmmap(dev_t dev, vm_offset_t offset, vm_offset_t *paddr, int prot) +memmmap(dev_t dev, vm_offset_t offset, vm_paddr_t *paddr, int prot) { /* * /dev/mem is the only one that makes sense through this diff --git a/sys/ia64/include/_types.h b/sys/ia64/include/_types.h index 49029ab..0c10cde 100644 --- a/sys/ia64/include/_types.h +++ b/sys/ia64/include/_types.h @@ -89,6 +89,7 @@ typedef __uint64_t __uint_least64_t; typedef __uint64_t __u_register_t; typedef __uint64_t __vm_offset_t; typedef __int64_t __vm_ooffset_t; +typedef __uint64_t __vm_paddr_t; typedef __uint64_t __vm_pindex_t; typedef __uint64_t __vm_size_t; |