From 2e45a6e310795de016d0b5227c92f14c803fb740 Mon Sep 17 00:00:00 2001 From: veego Date: Tue, 10 Jun 1997 18:30:28 +0000 Subject: [PATCH] s/amiga_round_page/m68k_round_page/ --- sys/arch/amiga/dev/grfabs_cc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/amiga/dev/grfabs_cc.c b/sys/arch/amiga/dev/grfabs_cc.c index ff4fb6ecfa47..4d0c2e60546a 100644 --- a/sys/arch/amiga/dev/grfabs_cc.c +++ b/sys/arch/amiga/dev/grfabs_cc.c @@ -1,4 +1,4 @@ -/* $NetBSD: grfabs_cc.c,v 1.15 1996/10/13 03:07:09 christos Exp $ */ +/* $NetBSD: grfabs_cc.c,v 1.16 1997/06/10 18:30:28 veego Exp $ */ /* * Copyright (c) 1994 Christian E. Hopps @@ -300,7 +300,7 @@ alloc_bitmap(width, height, depth, flags) * n pages by less than another page, the user gets to write all over * the entire page. Since you did not allocate up to a page boundry * (or more) the user writes into someone elses memory. -ch */ - total_size = amiga_round_page(plane_size * depth) + /* for length */ + total_size = m68k_round_page(plane_size * depth) + /* for length */ (temp_size) + (array_size) + sizeof(bmap_t) + NBPG; /* for alignment */ bm = alloc_chipmem(total_size); @@ -314,7 +314,7 @@ alloc_bitmap(width, height, depth, flags) bm->flags = flags; bm->plane = (u_char **) & bm[1]; bm->blit_temp = ((u_char *) bm->plane) + array_size; - bm->plane[0] = (u_char *) amiga_round_page((u_long) + bm->plane[0] = (u_char *) m68k_round_page((u_long) (bm->blit_temp + temp_size)); if (flags & BMF_INTERLEAVED) { bm->row_mod = bm->bytes_per_row * (depth - 1);