hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/x86/entry/vdso/vdso32-setup.c
....@@ -66,9 +66,6 @@
6666 /* Register vsyscall32 into the ABI table */
6767 #include <linux/sysctl.h>
6868
69
-static const int zero;
70
-static const int one = 1;
71
-
7269 static struct ctl_table abi_table2[] = {
7370 {
7471 .procname = "vsyscall32",
....@@ -76,8 +73,8 @@
7673 .maxlen = sizeof(int),
7774 .mode = 0644,
7875 .proc_handler = proc_dointvec_minmax,
79
- .extra1 = (int *)&zero,
80
- .extra2 = (int *)&one,
76
+ .extra1 = SYSCTL_ZERO,
77
+ .extra2 = SYSCTL_ONE,
8178 },
8279 {}
8380 };