kernel/arch/x86/entry/vdso/vdso32-setup.c
.. .. @@ -66,9 +66,6 @@ 66 66 /* Register vsyscall32 into the ABI table */ 67 67 #include <linux/sysctl.h> 68 68 69 -static const int zero;70 -static const int one = 1;71 -72 69 static struct ctl_table abi_table2[] = { 73 70 { 74 71 .procname = "vsyscall32", .. .. @@ -76,8 +73,8 @@ 76 73 .maxlen = sizeof(int), 77 74 .mode = 0644, 78 75 .proc_handler = proc_dointvec_minmax, 79 - .extra1 = (int *)&zero,80 - .extra2 = (int *)&one,76 + .extra1 = SYSCTL_ZERO,77 + .extra2 = SYSCTL_ONE,81 78 }, 82 79 {} 83 80 };