Remove the implementation of cpu_intr_p() from here now that it's in

arm/arm_machdep.h.  Should fix builds on arm32 platforms.  Thanks to
Matt Fleming for reporting the problem.
This commit is contained in:
bjh21 2009-01-17 14:14:56 +00:00
parent 3f38114d96
commit 76cc88961f
1 changed files with 2 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: arm32_machdep.c,v 1.61 2009/01/16 01:03:47 bjh21 Exp $ */
/* $NetBSD: arm32_machdep.c,v 1.62 2009/01/17 14:14:56 bjh21 Exp $ */
/*
* Copyright (c) 1994-1998 Mark Brinicombe.
@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.61 2009/01/16 01:03:47 bjh21 Exp $");
__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.62 2009/01/17 14:14:56 bjh21 Exp $");
#include "opt_md.h"
#include "opt_pmap_debug.h"
@ -403,12 +403,6 @@ parse_mi_bootargs(args)
boothowto |= AB_VERBOSE;
}
bool
cpu_intr_p(void)
{
return curcpu()->ci_intr_depth != 0;
}
#ifdef __HAVE_FAST_SOFTINTS
#if IPL_SOFTSERIAL != IPL_SOFTNET + 1
#error IPLs are screwed up