patch-1.3.3 linux/kernel/panic.c

Next file: linux/mm/memory.c
Previous file: linux/kernel/ksyms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.2/linux/kernel/panic.c linux/kernel/panic.c
@@ -30,3 +30,12 @@
 		sys_sync();
 	for(;;);
 }
+
+/*
+ * GCC 2.5.8 doesn't always optimize correctly; see include/asm/segment.h
+ */
+
+int bad_user_access_length(void)
+{
+        panic("bad_user_access_length executed (not cool, dude)");
+}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this