summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/central/central.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sparc64/central/central.c')
-rw-r--r--sys/sparc64/central/central.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/central/central.c b/sys/sparc64/central/central.c
index 62fa79d..15876f0 100644
--- a/sys/sparc64/central/central.c
+++ b/sys/sparc64/central/central.c
@@ -228,7 +228,7 @@ central_alloc_resource(device_t bus, device_t child, int type, int *rid,
int passthrough;
int i;
- isdefault = (start == 0UL && end == ~0UL);
+ isdefault = RMAN_IS_DEFAULT_RANGE(start, end);
passthrough = (device_get_parent(child) != bus);
res = NULL;
rle = NULL;
OpenPOWER on IntegriCloud