diff options
author | phk <phk@FreeBSD.org> | 1996-05-03 21:01:54 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-05-03 21:01:54 +0000 |
commit | 5d01dc3d502f27448cc5a6c62c8f103d25ac3df0 (patch) | |
tree | 6e409b4bdf1f55b895a65877ef5486cfc5442060 /sys/dev | |
parent | 6ed0fd2b8bab9bd3b84ab82f273df31ce328c87d (diff) | |
download | FreeBSD-src-5d01dc3d502f27448cc5a6c62c8f103d25ac3df0.zip FreeBSD-src-5d01dc3d502f27448cc5a6c62c8f103d25ac3df0.tar.gz |
Another sweep over the pmap/vm macros, this time with more focus on
the usage. I'm not satisfied with the naming, but now at least there is
less bogus stuff around.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/de/if_de.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c index 73832f2..274647c 100644 --- a/sys/dev/de/if_de.c +++ b/sys/dev/de/if_de.c @@ -21,7 +21,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_de.c,v 1.44 1996/03/23 19:29:09 fenner Exp $ + * $Id: if_de.c,v 1.45 1996/05/02 14:20:44 phk Exp $ * */ @@ -1301,7 +1301,7 @@ tulip_start( do { int len = m0->m_len; caddr_t addr = mtod(m0, caddr_t); - unsigned clsize = PAGE_SIZE - (((u_long) addr) & (PAGE_SIZE-1)); + unsigned clsize = PAGE_SIZE - (((u_long) addr) & PAGE_MASK); next_m0 = m0->m_next; while (len > 0) { |