diff options
-rw-r--r-- | arch/ia64/sn/kernel/xpc_main.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/ia64/sn/kernel/xpc_main.c b/arch/ia64/sn/kernel/xpc_main.c index 7a387d237363..24adb7566e8b 100644 --- a/arch/ia64/sn/kernel/xpc_main.c +++ b/arch/ia64/sn/kernel/xpc_main.c | |||
@@ -101,7 +101,7 @@ static int xpc_disengage_request_max_timelimit = 120; | |||
101 | 101 | ||
102 | static ctl_table xpc_sys_xpc_hb_dir[] = { | 102 | static ctl_table xpc_sys_xpc_hb_dir[] = { |
103 | { | 103 | { |
104 | 1, | 104 | CTL_UNNUMBERED, |
105 | "hb_interval", | 105 | "hb_interval", |
106 | &xpc_hb_interval, | 106 | &xpc_hb_interval, |
107 | sizeof(int), | 107 | sizeof(int), |
@@ -114,7 +114,7 @@ static ctl_table xpc_sys_xpc_hb_dir[] = { | |||
114 | &xpc_hb_max_interval | 114 | &xpc_hb_max_interval |
115 | }, | 115 | }, |
116 | { | 116 | { |
117 | 2, | 117 | CTL_UNNUMBERED, |
118 | "hb_check_interval", | 118 | "hb_check_interval", |
119 | &xpc_hb_check_interval, | 119 | &xpc_hb_check_interval, |
120 | sizeof(int), | 120 | sizeof(int), |
@@ -130,7 +130,7 @@ static ctl_table xpc_sys_xpc_hb_dir[] = { | |||
130 | }; | 130 | }; |
131 | static ctl_table xpc_sys_xpc_dir[] = { | 131 | static ctl_table xpc_sys_xpc_dir[] = { |
132 | { | 132 | { |
133 | 1, | 133 | CTL_UNNUMBERED, |
134 | "hb", | 134 | "hb", |
135 | NULL, | 135 | NULL, |
136 | 0, | 136 | 0, |
@@ -138,7 +138,7 @@ static ctl_table xpc_sys_xpc_dir[] = { | |||
138 | xpc_sys_xpc_hb_dir | 138 | xpc_sys_xpc_hb_dir |
139 | }, | 139 | }, |
140 | { | 140 | { |
141 | 2, | 141 | CTL_UNNUMBERED, |
142 | "disengage_request_timelimit", | 142 | "disengage_request_timelimit", |
143 | &xpc_disengage_request_timelimit, | 143 | &xpc_disengage_request_timelimit, |
144 | sizeof(int), | 144 | sizeof(int), |
@@ -154,7 +154,7 @@ static ctl_table xpc_sys_xpc_dir[] = { | |||
154 | }; | 154 | }; |
155 | static ctl_table xpc_sys_dir[] = { | 155 | static ctl_table xpc_sys_dir[] = { |
156 | { | 156 | { |
157 | 1, | 157 | CTL_UNNUMBERED, |
158 | "xpc", | 158 | "xpc", |
159 | NULL, | 159 | NULL, |
160 | 0, | 160 | 0, |
@@ -1251,7 +1251,7 @@ xpc_init(void) | |||
1251 | snprintf(xpc_part->bus_id, BUS_ID_SIZE, "part"); | 1251 | snprintf(xpc_part->bus_id, BUS_ID_SIZE, "part"); |
1252 | snprintf(xpc_chan->bus_id, BUS_ID_SIZE, "chan"); | 1252 | snprintf(xpc_chan->bus_id, BUS_ID_SIZE, "chan"); |
1253 | 1253 | ||
1254 | xpc_sysctl = register_sysctl_table(xpc_sys_dir, 1); | 1254 | xpc_sysctl = register_sysctl_table(xpc_sys_dir, 0); |
1255 | 1255 | ||
1256 | /* | 1256 | /* |
1257 | * The first few fields of each entry of xpc_partitions[] need to | 1257 | * The first few fields of each entry of xpc_partitions[] need to |