|
40 | 40 |
|
41 | 41 | static char __initdata command_line[COMMAND_LINE_SIZE]; |
42 | 42 |
|
43 | | -/* Intended for ccio/sba/cpu statistics under /proc/bus/{runway|gsc} */ |
44 | | -struct proc_dir_entry * proc_runway_root __read_mostly = NULL; |
45 | | -struct proc_dir_entry * proc_gsc_root __read_mostly = NULL; |
46 | | -struct proc_dir_entry * proc_mckinley_root __read_mostly = NULL; |
47 | | - |
48 | 43 | static void __init setup_cmdline(char **cmdline_p) |
49 | 44 | { |
50 | 45 | extern unsigned int boot_args[]; |
@@ -196,48 +191,6 @@ const struct seq_operations cpuinfo_op = { |
196 | 191 | .show = show_cpuinfo |
197 | 192 | }; |
198 | 193 |
|
199 | | -static void __init parisc_proc_mkdir(void) |
200 | | -{ |
201 | | - /* |
202 | | - ** Can't call proc_mkdir() until after proc_root_init() has been |
203 | | - ** called by start_kernel(). In other words, this code can't |
204 | | - ** live in arch/.../setup.c because start_parisc() calls |
205 | | - ** start_kernel(). |
206 | | - */ |
207 | | - switch (boot_cpu_data.cpu_type) { |
208 | | - case pcxl: |
209 | | - case pcxl2: |
210 | | - if (NULL == proc_gsc_root) |
211 | | - { |
212 | | - proc_gsc_root = proc_mkdir("bus/gsc", NULL); |
213 | | - } |
214 | | - break; |
215 | | - case pcxt_: |
216 | | - case pcxu: |
217 | | - case pcxu_: |
218 | | - case pcxw: |
219 | | - case pcxw_: |
220 | | - case pcxw2: |
221 | | - if (NULL == proc_runway_root) |
222 | | - { |
223 | | - proc_runway_root = proc_mkdir("bus/runway", NULL); |
224 | | - } |
225 | | - break; |
226 | | - case mako: |
227 | | - case mako2: |
228 | | - if (NULL == proc_mckinley_root) |
229 | | - { |
230 | | - proc_mckinley_root = proc_mkdir("bus/mckinley", NULL); |
231 | | - } |
232 | | - break; |
233 | | - default: |
234 | | - /* FIXME: this was added to prevent the compiler |
235 | | - * complaining about missing pcx, pcxs and pcxt |
236 | | - * I'm assuming they have neither gsc nor runway */ |
237 | | - break; |
238 | | - } |
239 | | -} |
240 | | - |
241 | 194 | static struct resource central_bus = { |
242 | 195 | .name = "Central Bus", |
243 | 196 | .start = F_EXTEND(0xfff80000), |
@@ -294,7 +247,6 @@ static int __init parisc_init(void) |
294 | 247 | { |
295 | 248 | u32 osid = (OS_ID_LINUX << 16); |
296 | 249 |
|
297 | | - parisc_proc_mkdir(); |
298 | 250 | parisc_init_resources(); |
299 | 251 | do_device_inventory(); /* probe for hardware */ |
300 | 252 |
|
|
0 commit comments