patch-2.4.20 linux-2.4.20/include/asm-ia64/module.h

Next file: linux-2.4.20/include/asm-ia64/offsets.h
Previous file: linux-2.4.20/include/asm-ia64/machvec_sn2.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/include/asm-ia64/module.h linux-2.4.20/include/asm-ia64/module.h
@@ -51,6 +51,9 @@
 		return 0;
 	archdata = (struct archdata *)(mod->archdata_start);
 
+	if (archdata->unw_start == 0)
+		return 0;
+
 	/*
 	 * Make sure the unwind pointers are sane.
 	 */
@@ -72,7 +75,7 @@
 		return 1;
 	}
 	if (!mod_bound(archdata->segment_base, 0, mod)) {
-		printk(KERN_ERR "module_arch_init: archdata->unw_table out of bounds.\n");
+		printk(KERN_ERR "module_arch_init: archdata->segment_base out of bounds.\n");
 		return 1;
 	}
 

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