From 64fc253682fe6c58db87b2d3937eac037505e58d Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Thu, 21 Feb 2002 06:17:20 +0000 Subject: oops --- sys/arch/hppa/hppa/mainbus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/arch/hppa/hppa/mainbus.c b/sys/arch/hppa/hppa/mainbus.c index 833e5caeb82..cd0214c7259 100644 --- a/sys/arch/hppa/hppa/mainbus.c +++ b/sys/arch/hppa/hppa/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.26 2002/02/21 06:12:30 mickey Exp $ */ +/* $OpenBSD: mainbus.c,v 1.27 2002/02/21 06:17:19 mickey Exp $ */ /* * Copyright (c) 1998-2001 Michael Shalayeff @@ -118,7 +118,7 @@ mbus_add_mapping(bus_addr_t bpa, bus_size_t size, int cachable, len = pdc_btlb.max_size << PGSHIFT; if (btlb_insert(HPPA_SID_KERNEL, spa, spa, &len, pmap_sid2pid(HPPA_SID_KERNEL) | - pmap_prot(pmap_kernel, + pmap_prot(pmap_kernel(), VM_PROT_ALL)) < 0) return -1; pa = spa + len - 1; -- cgit v1.2.3