From 394e5c1a2aa0c8a5648d113883a925d54e7d9a39 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Thu, 26 Jun 2003 00:58:39 +0000 Subject: alignment for extent_alloc_subregion cannot be zero --- sys/dev/cardbus/rbus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/cardbus/rbus.c') diff --git a/sys/dev/cardbus/rbus.c b/sys/dev/cardbus/rbus.c index 0a315f3a25e..7e2c0437c1a 100644 --- a/sys/dev/cardbus/rbus.c +++ b/sys/dev/cardbus/rbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rbus.c,v 1.5 2002/06/07 02:06:09 nordin Exp $ */ +/* $OpenBSD: rbus.c,v 1.6 2003/06/26 00:58:38 mickey Exp $ */ /* $NetBSD: rbus.c,v 1.3 1999/11/06 06:20:53 soren Exp $ */ /* * Copyright (c) 1999 @@ -130,7 +130,7 @@ rbus_space_alloc_subregion(rbt, substart, subend, addr, size, mask, align, flags /* maybe, the resister is overflowed. */ if (extent_alloc_subregion(rbt->rb_ext, addr, addr + size, size, - 0, 0, 0, exflags, (u_long *)&result)) { + 1, 0, 0, exflags, (u_long *)&result)) { return 1; } } else { -- cgit v1.2.3