diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2018-02-01 07:41:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2018-02-01 07:41:34 +0000 |
commit | 9ab60559014635b466ea0d2a208463a5ec57ab0d (patch) | |
tree | a0a19138982fac02e07c60c2a9d3d798ee1e01c0 /sys/arch | |
parent | e988952b1b1244d281473e6cbb9cb2e0c6f9a59a (diff) |
handle ramdisk not containing ddb, so that builds can proceed
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/arm64/dev/bcm2836_intr.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 <drahn@openbsd.org> * Copyright (c) 2015 Patrick Wildt <patrick@blueri.se> @@ -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; |