s/_round_page/m68k_round_page/

This commit is contained in:
veego 1997-06-10 19:27:08 +00:00
parent 4ef51880a6
commit 6bdd438fca
2 changed files with 4 additions and 4 deletions

View File

@ -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 * Copyright (c) 1995 Gordon W. Ross
@ -106,7 +106,7 @@ dvma_mapout(char *addr, int len)
char * char *
dvma_alloc(int len) dvma_alloc(int len)
{ {
len = _round_page(len); len = m68k_round_page(len);
dvma_end -= len; dvma_end -= len;
return((char*)dvma_end); return((char*)dvma_end);
} }

View File

@ -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 * Copyright (c) 1995 Gordon W. Ross
@ -105,7 +105,7 @@ prom_iopen(si)
/* try page-aligned address... */ /* try page-aligned address... */
size = dip->d_dmabytes + NBPG; size = dip->d_dmabytes + NBPG;
addr = (int) dvma_alloc(size); addr = (int) dvma_alloc(size);
addr = _round_page(addr); addr = m68k_round_page(addr);
si->si_dmaaddr = (char*) addr; si->si_dmaaddr = (char*) addr;
#ifdef DEBUG_PROM #ifdef DEBUG_PROM
if (debug) if (debug)