Skip to content

Commit 306b685

Browse files
Update kern_event.c
modify gcc build error
1 parent 89ec8d7 commit 306b685

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

freebsd/kern/kern_event.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1672,6 +1672,7 @@ kqueue_release(struct kqueue *kq, int locked)
16721672
KQ_UNLOCK(kq);
16731673
}
16741674

1675+
#ifndef FSTACK
16751676
static void
16761677
kqueue_schedtask(struct kqueue *kq)
16771678
{
@@ -1685,6 +1686,7 @@ kqueue_schedtask(struct kqueue *kq)
16851686
kq->kq_state |= KQ_TASKSCHED;
16861687
}
16871688
}
1689+
#endif
16881690

16891691
/*
16901692
* Expand the kq to make sure we have storage for fops/ident pair.

0 commit comments

Comments
 (0)