patch-2.1.16 linux/arch/ppc/kernel/stubs.c
Next file: linux/arch/ppc/kernel/syscalls.c
Previous file: linux/arch/ppc/kernel/signal.c
Back to the patch index
Back to the overall index
- Lines: 66
- Date:
Wed Dec 18 10:49:52 1996
- Orig file:
v2.1.15/linux/arch/ppc/kernel/stubs.c
- Orig date:
Mon Jul 8 11:27:43 1996
diff -u --recursive --new-file v2.1.15/linux/arch/ppc/kernel/stubs.c linux/arch/ppc/kernel/stubs.c
@@ -1,49 +1,14 @@
-#include <linux/in.h>
+/*#include <linux/in.h>*/
+#include <linux/autoconf.h>
-void sys_iopl(void) { _panic("sys_iopl"); }
-void sys_vm86(void) { _panic("sys_vm86"); }
-void sys_modify_ldt(void) { _panic("sys_modify_ldt"); }
-
-void sys_ipc(void) {_panic("sys_ipc"); }
-void sys_newselect(void) {_panic("sys_newselect"); }
-
-halt()
-{
- printk("\n...Halt!\n");
- abort();
-}
-
-_panic(char *msg)
-{
- printk("Panic: %s\n", msg);
- printk("Panic: %s\n", msg);
- abort();
-}
-
-_warn(char *msg)
-{
- printk("*** Warning: %s UNIMPLEMENTED!\n", msg);
-}
+void sys_iopl(void) { panic("sys_iopl"); }
+void sys_vm86(void) { panic("sys_vm86"); }
+void sys_modify_ldt(void) { panic("sys_modify_ldt"); }
+void sys_ipc(void) {panic("sys_ipc"); }
+void sys_newselect(void) {panic("sys_newselect"); }
-void
-saved_command_line(void)
-{
- panic("saved_command_line");
-}
-
-void
-KSTK_EIP(void)
-{
- panic("KSTK_EIP");
-}
-
-void
-KSTK_ESP(void)
-{
- panic("KSTK_ESP");
-}
-
+#ifndef CONFIG_MODULES
void
scsi_register_module(void)
{
@@ -55,5 +20,7 @@
{
panic("scsi_unregister_module");
}
+#endif
+
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov