diff --git a/sys/arch/ofppc/ofppc/machdep.c b/sys/arch/ofppc/ofppc/machdep.c index 5992262d2a6e..ff297178b01b 100644 --- a/sys/arch/ofppc/ofppc/machdep.c +++ b/sys/arch/ofppc/ofppc/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.59 2000/09/24 12:32:37 jdolecek Exp $ */ +/* $NetBSD: machdep.c,v 1.60 2000/11/16 01:56:05 thorpej Exp $ */ /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -85,6 +85,8 @@ char *bootpath; paddr_t msgbuf_paddr; vaddr_t msgbuf_vaddr; +int lcsplx(int); /* called from locore.S */ + static int fake_spl __P((void)); static int fake_splx __P((int)); static void fake_setsoft __P((void)); @@ -672,6 +674,16 @@ callback(p) panic("callback"); /* for now XXX */ } +/* + * Perform an `splx()' for locore. + */ +int +lcsplx(int ipl) +{ + + return (splx(ipl)); +} + /* * Initial Machine Interface. */