clang-format
This commit is contained in:
@@ -74,8 +74,8 @@ int splx(int);
|
||||
/*
|
||||
* Integer interrupt priority levels.
|
||||
*/
|
||||
#define IPL_NONE 0
|
||||
#define IPL_HIGH 1
|
||||
#define IPL_NONE 0
|
||||
#define IPL_HIGH 1
|
||||
|
||||
/*
|
||||
* Lower-level functions for explicitly raising and lowering
|
||||
@@ -92,18 +92,9 @@ void spllower(int oldipl, int newipl);
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
SPL_INLINE
|
||||
int
|
||||
spl0(void)
|
||||
{
|
||||
return splx(IPL_NONE);
|
||||
}
|
||||
int spl0(void) { return splx(IPL_NONE); }
|
||||
|
||||
SPL_INLINE
|
||||
int
|
||||
splhigh(void)
|
||||
{
|
||||
return splx(IPL_HIGH);
|
||||
}
|
||||
|
||||
int splhigh(void) { return splx(IPL_HIGH); }
|
||||
|
||||
#endif /* _SPL_H_ */
|
||||
|
||||
Reference in New Issue
Block a user