mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-28 16:43:09 +00:00
Unbreak build for the the !PREEMPTION case: don't define variables
that aren't used in that case.
This commit is contained in:
parent
557b7fa148
commit
8b44a2e2c9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131508
@ -473,8 +473,10 @@ critical_exit(void)
|
||||
int
|
||||
maybe_preempt(struct thread *td)
|
||||
{
|
||||
#ifdef PREEMPTION
|
||||
struct thread *ctd;
|
||||
int cpri, pri;
|
||||
#endif
|
||||
|
||||
mtx_assert(&sched_lock, MA_OWNED);
|
||||
#ifdef PREEMPTION
|
||||
|
Loading…
Reference in New Issue
Block a user