From aa8de40ae504c80301d07b7a4cfa74359792cc72 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Fri, 3 May 1996 21:01:54 +0000 Subject: 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. --- sys/dev/de/if_de.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/de') diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c index 73832f2f2317..274647c8bdf3 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) { -- cgit v1.3