5.4 compile error fix: Use SYSCTL_ZERO and SYSCTL_ONE
This commit is contained in:
parent
ff6bc15f2a
commit
30aca2aa4e
1 changed files with 9 additions and 9 deletions
|
@ -2777,8 +2777,8 @@ static struct ctl_table kern_table[] = {
|
||||||
.maxlen = sizeof(int),
|
.maxlen = sizeof(int),
|
||||||
.mode = 0644,
|
.mode = 0644,
|
||||||
.proc_handler = proc_douintvec_minmax,
|
.proc_handler = proc_douintvec_minmax,
|
||||||
.extra1 = &one,
|
.extra1 = SYSCTL_ONE,
|
||||||
.extra2 = &one,
|
.extra2 = SYSCTL_ONE,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.procname = "sched_burst_smoothness_long",
|
.procname = "sched_burst_smoothness_long",
|
||||||
|
@ -2786,8 +2786,8 @@ static struct ctl_table kern_table[] = {
|
||||||
.maxlen = sizeof(int),
|
.maxlen = sizeof(int),
|
||||||
.mode = 0644,
|
.mode = 0644,
|
||||||
.proc_handler = proc_douintvec_minmax,
|
.proc_handler = proc_douintvec_minmax,
|
||||||
.extra1 = &zero,
|
.extra1 = SYSCTL_ZERO,
|
||||||
.extra2 = &one,
|
.extra2 = SYSCTL_ONE,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.procname = "sched_burst_smoothness_short",
|
.procname = "sched_burst_smoothness_short",
|
||||||
|
@ -2795,8 +2795,8 @@ static struct ctl_table kern_table[] = {
|
||||||
.maxlen = sizeof(int),
|
.maxlen = sizeof(int),
|
||||||
.mode = 0644,
|
.mode = 0644,
|
||||||
.proc_handler = proc_douintvec_minmax,
|
.proc_handler = proc_douintvec_minmax,
|
||||||
.extra1 = &zero,
|
.extra1 = SYSCTL_ZERO,
|
||||||
.extra2 = &one,
|
.extra2 = SYSCTL_ONE,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.procname = "sched_burst_fork_atavistic",
|
.procname = "sched_burst_fork_atavistic",
|
||||||
|
@ -2804,7 +2804,7 @@ static struct ctl_table kern_table[] = {
|
||||||
.maxlen = sizeof(int),
|
.maxlen = sizeof(int),
|
||||||
.mode = 0644,
|
.mode = 0644,
|
||||||
.proc_handler = proc_douintvec_minmax,
|
.proc_handler = proc_douintvec_minmax,
|
||||||
.extra1 = &zero,
|
.extra1 = SYSCTL_ZERO,
|
||||||
.extra2 = &three,
|
.extra2 = &three,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -2813,7 +2813,7 @@ static struct ctl_table kern_table[] = {
|
||||||
.maxlen = sizeof(int),
|
.maxlen = sizeof(int),
|
||||||
.mode = 0644,
|
.mode = 0644,
|
||||||
.proc_handler = proc_douintvec_minmax,
|
.proc_handler = proc_douintvec_minmax,
|
||||||
.extra1 = &zero,
|
.extra1 = SYSCTL_ZERO,
|
||||||
.extra2 = &sixty_four,
|
.extra2 = &sixty_four,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -2822,7 +2822,7 @@ static struct ctl_table kern_table[] = {
|
||||||
.maxlen = sizeof(int),
|
.maxlen = sizeof(int),
|
||||||
.mode = 0644,
|
.mode = 0644,
|
||||||
.proc_handler = proc_douintvec_minmax,
|
.proc_handler = proc_douintvec_minmax,
|
||||||
.extra1 = &zero,
|
.extra1 = SYSCTL_ZERO,
|
||||||
.extra2 = &maxval_12_bits,
|
.extra2 = &maxval_12_bits,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue