Inline critical enter/exit for "tied" kernel modules
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
e2493f4912
commit
ea14af2d3c
@ -273,7 +273,7 @@ void tablefull(const char *);
|
||||
extern int (*lkpi_alloc_current)(struct thread *, int);
|
||||
int linux_alloc_current_noop(struct thread *, int);
|
||||
|
||||
#if defined(KLD_MODULE) || defined(KTR_CRITICAL) || !defined(_KERNEL) || defined(GENOFFSET)
|
||||
#if (defined(KLD_MODULE) && !defined(KLD_TIED)) || defined(KTR_CRITICAL) || !defined(_KERNEL) || defined(GENOFFSET)
|
||||
#define critical_enter() critical_enter_KBI()
|
||||
#define critical_exit() critical_exit_KBI()
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user