KNF
This commit is contained in:
parent
6a271b6a79
commit
724ed304b4
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: intr.c,v 1.32 2021/03/22 01:36:10 rin Exp $ */
|
||||
/* $NetBSD: intr.c,v 1.33 2021/03/23 08:07:23 skrll Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2007 Michael Lorenz
|
||||
@ -29,7 +29,7 @@
|
||||
#define __INTR_PRIVATE
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.32 2021/03/22 01:36:10 rin Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.33 2021/03/23 08:07:23 skrll Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_interrupt.h"
|
||||
@ -619,7 +619,8 @@ splraise(int ncpl)
|
||||
struct cpu_info *ci = curcpu();
|
||||
int ocpl;
|
||||
|
||||
if (ncpl == ci->ci_cpl) return ncpl;
|
||||
if (ncpl == ci->ci_cpl)
|
||||
return ncpl;
|
||||
REORDER_PROTECT();
|
||||
ocpl = ci->ci_cpl;
|
||||
KASSERT(ncpl < NIPL);
|
||||
|
Loading…
Reference in New Issue
Block a user