From NetBSD PR#3441, Matthias Drochner <drochner@zelz26.zel.kfa-juelich.de>
-/* $OpenBSD: machdep.c,v 1.42 1997/02/24 04:05:48 downsj Exp $ */
+/* $OpenBSD: machdep.c,v 1.43 1997/04/02 22:02:55 niklas Exp $ */
/* $NetBSD: machdep.c,v 1.202 1996/05/18 15:54:59 christos Exp $ */
/*-
vm_offset_t va;
pa = i386_trunc_page(bpa);
- endpa = i386_round_page((bpa + size) - 1);
+ endpa = i386_round_page(bpa + size);
#ifdef DIAGNOSTIC
if (endpa <= pa)
case I386_BUS_SPACE_MEM:
ex = iomem_ex;
va = i386_trunc_page(bsh);
- endva = i386_round_page((bsh + size) - 1);
+ endva = i386_round_page(bsh + size);
#ifdef DIAGNOSTIC
if (endva <= va)