patch-2.3.29 linux/arch/i386/kernel/mca.c
Next file: linux/arch/i386/kernel/mtrr.c
Previous file: linux/arch/i386/kernel/irq.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Fri Nov 19 21:16:10 1999
- Orig file:
v2.3.28/linux/arch/i386/kernel/mca.c
- Orig date:
Thu Nov 11 20:11:31 1999
diff -u --recursive --new-file v2.3.28/linux/arch/i386/kernel/mca.c linux/arch/i386/kernel/mca.c
@@ -744,11 +744,13 @@
void __init mca_do_proc_init(void)
{
int i;
+ struct proc_dir_entry *proc_mca;
struct proc_dir_entry* node = NULL;
struct MCA_adapter *p;
if(mca_info == NULL) return; /* Should never happen */
+ proc_mca = proc_mkdir("mca", &proc_root);
create_proc_read_entry("pos",0,proc_mca,get_mca_info,NULL);
create_proc_read_entry("machine",0,proc_mca,get_mca_machine_info,NULL);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)