From: deraadt Date: Thu, 1 Feb 2018 07:41:33 +0000 (+0000) Subject: handle ramdisk not containing ddb, so that builds can proceed X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8ee69c320fa06fb8ba9e6255030ece368c74308b;p=openbsd handle ramdisk not containing ddb, so that builds can proceed --- diff --git a/sys/arch/arm64/dev/bcm2836_intr.c b/sys/arch/arm64/dev/bcm2836_intr.c index 5d1198ca5c3..c2275960f4c 100644 --- a/sys/arch/arm64/dev/bcm2836_intr.c +++ b/sys/arch/arm64/dev/bcm2836_intr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bcm2836_intr.c,v 1.5 2018/01/31 10:52:12 kettenis Exp $ */ +/* $OpenBSD: bcm2836_intr.c,v 1.6 2018/02/01 07:41:33 deraadt Exp $ */ /* * Copyright (c) 2007,2009 Dale Rahn * Copyright (c) 2015 Patrick Wildt @@ -457,7 +457,9 @@ bcm_intc_call_handler(int irq, void *frame) static int cnt = 0; if ((cnt++ % 100) == 0) { printf("irq %d fired * _100\n", irq); +#ifdef DDB db_enter(); +#endif } } #endif @@ -639,7 +641,9 @@ bcm_intc_handle_ipi(void) switch (ipi) { case ARM_IPI_DDB: /* XXX */ +#ifdef DDB db_enter(); +#endif break; case ARM_IPI_NOP: break;