patch-1.3.53 linux/arch/ppc/kernel/stubs.c

Next file: linux/arch/ppc/kernel/traps.c
Previous file: linux/arch/ppc/kernel/setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.52/linux/arch/ppc/kernel/stubs.c linux/arch/ppc/kernel/stubs.c
@@ -1,5 +1,9 @@
 #include <linux/in.h>
 
+unsigned int csum_tcpudp_magic(void);
+void halt(void);
+void _do_bottom_half(void);
+
 void sys_ptrace(void) { _panic("sys_ptrace"); }
 void sys_iopl(void) { _panic("sys_iopl"); }
 void sys_vm86(void) { _panic("sys_vm86"); }
@@ -9,10 +13,11 @@
 void sys_pipe(void) {_panic("sys_pipe"); }
 void sys_ipc(void) {_panic("sys_ipc"); }
 void sys_mmap(void) {_panic("sys_mmap"); }
-void sys_readdir(void) {_panic("sys_readdir"); }
-
+/* unneeded 
+void sys_readdir(void) {panic("sys_readdir"); }
+*/
 
-halt()
+void halt(void)
 {
 	_printk("\n...Halt!\n");
 	abort();
@@ -91,7 +96,8 @@
 	return (_val);
 }
 #endif
-_do_bottom_half()
+
+void _do_bottom_half(void)
 {
 	_enable_interrupts(1);
 	do_bottom_half();

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