diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-06-19 14:06:57 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-06-19 14:06:57 +0000 |
commit | 4cfb964e603fe6c195464d239ed6b2328977242e (patch) | |
tree | 3c93c84d7186c05fc7a0f322cac497cdad87c3f1 /sys/arch | |
parent | 1a5a08e080c7b687698a26d72d84c0d84cb24470 (diff) |
Remove unused md BUS_SPACE_MAP_NOEXTENT flag; ok jsing@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hppa/hppa/mainbus.c | 5 | ||||
-rw-r--r-- | sys/arch/hppa/include/bus.h | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/sys/arch/hppa/hppa/mainbus.c b/sys/arch/hppa/hppa/mainbus.c index efed4e01f1c..9daf347bbe3 100644 --- a/sys/arch/hppa/hppa/mainbus.c +++ b/sys/arch/hppa/hppa/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.80 2010/05/24 15:04:55 deraadt Exp $ */ +/* $OpenBSD: mainbus.c,v 1.81 2010/06/19 14:06:54 miod Exp $ */ /* * Copyright (c) 1998-2004 Michael Shalayeff @@ -275,8 +275,7 @@ mbus_map(void *v, bus_addr_t bpa, bus_size_t size, { int error; - if (!(flags & BUS_SPACE_MAP_NOEXTENT) && - (error = extent_alloc_region(hppa_ex, bpa, size, EX_NOWAIT))) + if ((error = extent_alloc_region(hppa_ex, bpa, size, EX_NOWAIT))) return (error); if ((error = mbus_add_mapping(bpa, size, flags, bshp))) { diff --git a/sys/arch/hppa/include/bus.h b/sys/arch/hppa/include/bus.h index 9502f88c7d3..89e67a3cc39 100644 --- a/sys/arch/hppa/include/bus.h +++ b/sys/arch/hppa/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.28 2009/07/30 21:39:54 miod Exp $ */ +/* $OpenBSD: bus.h,v 1.29 2010/06/19 14:06:56 miod Exp $ */ /* * Copyright (c) 1998-2004 Michael Shalayeff @@ -167,7 +167,6 @@ extern const struct hppa_bus_space_tag hppa_bustag; #define BUS_SPACE_MAP_LINEAR 0x0002 #define BUS_SPACE_MAP_READONLY 0x0004 #define BUS_SPACE_MAP_PREFETCHABLE 0x0008 -#define BUS_SPACE_MAP_NOEXTENT 0x8000 /* no extent ops */ /* bus access routines */ |