From 2aae453976e1afb587555ed71b78c78edaf31e3f Mon Sep 17 00:00:00 2001 From: rjs Date: Thu, 2 May 2002 22:47:09 +0000 Subject: [PATCH] Make it compile when VERBOSE_ARM32 is defined. --- sys/arch/arm/arm/undefined.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sys/arch/arm/arm/undefined.c b/sys/arch/arm/arm/undefined.c index bff0c12a5af5..0a980656dd34 100644 --- a/sys/arch/arm/arm/undefined.c +++ b/sys/arch/arm/arm/undefined.c @@ -1,4 +1,4 @@ -/* $NetBSD: undefined.c,v 1.14 2002/04/12 18:50:31 thorpej Exp $ */ +/* $NetBSD: undefined.c,v 1.15 2002/05/02 22:47:09 rjs Exp $ */ /* * Copyright (c) 2001 Ben Harris. @@ -50,7 +50,7 @@ #include -__KERNEL_RCSID(0, "$NetBSD: undefined.c,v 1.14 2002/04/12 18:50:31 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: undefined.c,v 1.15 2002/05/02 22:47:09 rjs Exp $"); #include #include @@ -156,6 +156,9 @@ undefinedinstruction(trapframe_t *frame) int fault_code; int coprocessor; struct undefined_handler *uh; +#ifdef VERBOSE_ARM32 + int s; +#endif /* Enable interrupts if they were enabled before the exception. */ #ifdef acorn26