Fix spl0(). Our IPL_NONE is not 0.
This commit is contained in:
parent
a7c78872c1
commit
6b052232cf
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: ibm4xx_intr.h,v 1.19 2011/01/18 01:02:54 matt Exp $ */
|
/* $NetBSD: ibm4xx_intr.h,v 1.20 2011/05/12 08:14:36 kiyohara Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1998, 2007 The NetBSD Foundation, Inc.
|
* Copyright (c) 1998, 2007 The NetBSD Foundation, Inc.
|
||||||
@ -90,7 +90,7 @@ splraiseipl(ipl_cookie_t icookie)
|
|||||||
|
|
||||||
#include <sys/spl.h>
|
#include <sys/spl.h>
|
||||||
|
|
||||||
#define spl0() spllower(0)
|
#define spl0() spllower(IPL_NONE)
|
||||||
|
|
||||||
#endif /* !_LOCORE */
|
#endif /* !_LOCORE */
|
||||||
#endif /* !_IBM4XX_INTR_H_ */
|
#endif /* !_IBM4XX_INTR_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user