hc
2023-11-06 15ade055295d13f95d49e3d99b09f3bbfb4a43e7
kernel/fs/proc/base.c
....@@ -96,6 +96,7 @@
9696 #include <linux/posix-timers.h>
9797 #include <linux/cpufreq_times.h>
9898 #include <trace/events/oom.h>
99
+#include <linux/swait.h>
99100 #include "internal.h"
100101 #include "fd.h"
101102
....@@ -1890,7 +1891,7 @@
18901891
18911892 child = d_hash_and_lookup(dir, &qname);
18921893 if (!child) {
1893
- DECLARE_WAIT_QUEUE_HEAD_ONSTACK(wq);
1894
+ DECLARE_SWAIT_QUEUE_HEAD_ONSTACK(wq);
18941895 child = d_alloc_parallel(dir, &qname, &wq);
18951896 if (IS_ERR(child))
18961897 goto end_instantiate;