From 6bdd438fcabc14d2e5912de6a2f852271d2b10ed Mon Sep 17 00:00:00 2001 From: veego Date: Tue, 10 Jun 1997 19:27:08 +0000 Subject: [PATCH] s/_round_page/m68k_round_page/ --- sys/arch/sun3/stand/libsa/dvma.c | 4 ++-- sys/arch/sun3/stand/libsa/promdev.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arch/sun3/stand/libsa/dvma.c b/sys/arch/sun3/stand/libsa/dvma.c index db361a7c39f3..90592ae524e2 100644 --- a/sys/arch/sun3/stand/libsa/dvma.c +++ b/sys/arch/sun3/stand/libsa/dvma.c @@ -1,4 +1,4 @@ -/* $NetBSD: dvma.c,v 1.8 1997/03/13 15:58:51 gwr Exp $ */ +/* $NetBSD: dvma.c,v 1.9 1997/06/10 19:27:08 veego Exp $ */ /* * Copyright (c) 1995 Gordon W. Ross @@ -106,7 +106,7 @@ dvma_mapout(char *addr, int len) char * dvma_alloc(int len) { - len = _round_page(len); + len = m68k_round_page(len); dvma_end -= len; return((char*)dvma_end); } diff --git a/sys/arch/sun3/stand/libsa/promdev.c b/sys/arch/sun3/stand/libsa/promdev.c index 3881afc71520..9b8af2f29786 100644 --- a/sys/arch/sun3/stand/libsa/promdev.c +++ b/sys/arch/sun3/stand/libsa/promdev.c @@ -1,4 +1,4 @@ -/* $NetBSD: promdev.c,v 1.8 1997/03/13 15:58:51 gwr Exp $ */ +/* $NetBSD: promdev.c,v 1.9 1997/06/10 19:27:10 veego Exp $ */ /* * Copyright (c) 1995 Gordon W. Ross @@ -105,7 +105,7 @@ prom_iopen(si) /* try page-aligned address... */ size = dip->d_dmabytes + NBPG; addr = (int) dvma_alloc(size); - addr = _round_page(addr); + addr = m68k_round_page(addr); si->si_dmaaddr = (char*) addr; #ifdef DEBUG_PROM if (debug)