patch-2.3.25 linux/arch/i386/kernel/mca.c

Next file: linux/arch/i386/kernel/mtrr.c
Previous file: linux/arch/i386/kernel/i386_ksyms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.24/linux/arch/i386/kernel/mca.c linux/arch/i386/kernel/mca.c
@@ -705,11 +705,11 @@
 
 	if(mca_info == NULL) return;	/* Should never happen */
 
-	proc_register(&proc_mca, &(struct proc_dir_entry) {
+	proc_register(proc_mca, &(struct proc_dir_entry) {
 		PROC_MCA_REGISTERS, 3, "pos", S_IFREG|S_IRUGO,
 		1, 0, 0, 0, &proc_mca_inode_operations,});
 
-	proc_register(&proc_mca, &(struct proc_dir_entry) {
+	proc_register(proc_mca, &(struct proc_dir_entry) {
 		PROC_MCA_MACHINE, 7, "machine", S_IFREG|S_IRUGO,
 		1, 0, 0, 0, &proc_mca_inode_operations,});
 
@@ -745,7 +745,7 @@
 		node->name = mca_info->slot[i].procname;
 		node->mode = S_IFREG | S_IRUGO;
 		node->ops = &proc_mca_inode_operations;
-		proc_register(&proc_mca, node);
+		proc_register(proc_mca, node);
 	}
 
 } /* mca_do_proc_init() */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)