|
@@ -1,4 +1,5 @@
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
+#include <linux/cache.h>
|
|
|
#include <linux/sched.h>
|
|
|
#include <linux/slab.h>
|
|
|
#include <linux/pid_namespace.h>
|
|
@@ -30,7 +31,7 @@ static const struct inode_operations proc_thread_self_inode_operations = {
|
|
|
.get_link = proc_thread_self_get_link,
|
|
|
};
|
|
|
|
|
|
-static unsigned thread_self_inum;
|
|
|
+static unsigned thread_self_inum __ro_after_init;
|
|
|
|
|
|
int proc_setup_thread_self(struct super_block *s)
|
|
|
{
|