diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index c8da99f905cf522a34dd7ff059bde584e4d8c90a..c398a58673a75594ad5951dc4607f07dce451f62 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -122,6 +122,7 @@ extern int blk_iopoll_enabled;
 static int sixty = 60;
 #endif
 
+static int neg_one = -1;
 static int zero;
 static int __maybe_unused one = 1;
 static int __maybe_unused two = 2;