diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-04-18 12:16:04 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-04-18 12:16:04 +0000 |
commit | 7bf57b2ecee9b0970a9a622fd4735f52496163ec (patch) | |
tree | d9a9c7876bbe482acc266182a10d94afb362d96f /sys/arch/hppa | |
parent | e5c7e1047cd504d19bb203b03bb51f7629c4aa6a (diff) |
do not do some of the initmsgbuf()s job
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/hppa/machdep.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c index e00c839d385..2aa530fff36 100644 --- a/sys/arch/hppa/hppa/machdep.c +++ b/sys/arch/hppa/hppa/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.144 2005/04/07 13:16:12 mickey Exp $ */ +/* $OpenBSD: machdep.c,v 1.145 2005/04/18 12:16:03 mickey Exp $ */ /* * Copyright (c) 1999-2003 Michael Shalayeff @@ -415,9 +415,8 @@ hppa_init(start) pmap_bootstrap(v); /* space has been reserved in pmap_bootstrap() */ - msgbufp = (struct msgbuf *)(ptoa(physmem) - round_page(MSGBUFSIZE)); - initmsgbuf((caddr_t)msgbufp, round_page(MSGBUFSIZE)); - msgbufmapped = 1; + initmsgbuf((caddr_t)(ptoa(physmem) - round_page(MSGBUFSIZE)), + round_page(MSGBUFSIZE)); /* they say PDC_COPROC might turn fault light on */ pdc_call((iodcio_t)pdc, 0, PDC_CHASSIS, PDC_CHASSIS_DISP, |