diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-12-17 07:31:28 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-12-17 07:31:28 +0000 |
commit | 7cbb57eba5664076170d755cd54b71d88b093c0e (patch) | |
tree | ab7aa84468246c727fb48c0d639bf2567e2cf89f /sys/arch/mvme68k/dev/flash.c | |
parent | 9eee08e5579b1adf67335028b835e1df460fbb93 (diff) |
Get rid of deprecated vm_{offset,size}_t types for good, use {p,v}{addr,size}_t
instead; looked at millert@
Diffstat (limited to 'sys/arch/mvme68k/dev/flash.c')
-rw-r--r-- | sys/arch/mvme68k/dev/flash.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/mvme68k/dev/flash.c b/sys/arch/mvme68k/dev/flash.c index 673b216b97f..cb870fb182c 100644 --- a/sys/arch/mvme68k/dev/flash.c +++ b/sys/arch/mvme68k/dev/flash.c @@ -1,4 +1,4 @@ -/* $OpenBSD: flash.c,v 1.16 2005/11/24 22:43:16 miod Exp $ */ +/* $OpenBSD: flash.c,v 1.17 2005/12/17 07:31:26 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -350,9 +350,9 @@ flashread(dev, uio, flags) { int unit = minor(dev); struct flashsoftc *sc = (struct flashsoftc *) flash_cd.cd_devs[unit]; - register vm_offset_t v; - register int c; - register struct iovec *iov; + vaddr_t v; + int c; + struct iovec *iov; int error = 0; while (uio->uio_resid > 0 && error == 0) { @@ -385,9 +385,9 @@ flashwrite(dev, uio, flags) { int unit = minor(dev); struct flashsoftc *sc = (struct flashsoftc *) flash_cd.cd_devs[unit]; - register vm_offset_t v; - register int c, i, r; - register struct iovec *iov; + vaddr_t v; + int c, i, r; + struct iovec *iov; int error = 0; u_char *cmpbuf; int neederase = 0, needwrite = 0; |