diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2007-09-02 12:12:13 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2007-09-02 12:12:13 +0000 |
commit | c12fb1f7c73f9ec21ffe3fa086d1ff515a6c50e6 (patch) | |
tree | 1e74006e863f39e6790dd769850b7d295190a45b /sys/dev/ic | |
parent | cbe5500a0133f24da5edb9f5b12d9268d9440847 (diff) |
ctob is gone, use ptoa
tested by ckuethe
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/aac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/aac.c b/sys/dev/ic/aac.c index 5d6eb429cb3..6c3c2fc3721 100644 --- a/sys/dev/ic/aac.c +++ b/sys/dev/ic/aac.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aac.c,v 1.35 2007/03/20 10:30:32 mickey Exp $ */ +/* $OpenBSD: aac.c,v 1.36 2007/09/02 12:12:12 martin Exp $ */ /*- * Copyright (c) 2000 Michael Smith @@ -1592,7 +1592,7 @@ aac_init(struct aac_softc *sc) * therefore 'assuming' that this value is in 16MB units (2^24). * Round up since the granularity is so high. */ - ip->HostPhysMemPages = ctob(physmem) / AAC_PAGE_SIZE; + ip->HostPhysMemPages = ptoa(physmem) / AAC_PAGE_SIZE; if (sc->flags & AAC_FLAGS_BROKEN_MEMMAP) { ip->HostPhysMemPages = (ip->HostPhysMemPages + AAC_PAGE_SIZE) / AAC_PAGE_SIZE; |