Since r202933, kthread_suspend_check() takes no arguments. Update the
example to match. MFC after: 3 days
This commit is contained in:
parent
1785b1c474
commit
fed7e55027
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268725
@ -25,7 +25,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd January 24, 2010
|
.Dd July 15, 2014
|
||||||
.Dt KTHREAD 9
|
.Dt KTHREAD 9
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -275,7 +275,7 @@ buf_daemon()
|
|||||||
bufdaemonthread, SHUTDOWN_PRI_LAST);
|
bufdaemonthread, SHUTDOWN_PRI_LAST);
|
||||||
...
|
...
|
||||||
for (;;) {
|
for (;;) {
|
||||||
kthread_suspend_check(bufdaemonthread);
|
kthread_suspend_check();
|
||||||
...
|
...
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user