reboot now works on foxboard
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 4 Jun 2007 20:33:08 +0000 (20:33 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 4 Jun 2007 20:33:08 +0000 (20:33 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7496 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/etrax-2.6/patches/cris/018-reboot.patch [new file with mode: 0644]

diff --git a/target/linux/etrax-2.6/patches/cris/018-reboot.patch b/target/linux/etrax-2.6/patches/cris/018-reboot.patch
new file mode 100644 (file)
index 0000000..b9d1383
--- /dev/null
@@ -0,0 +1,10 @@
+--- linux-2.6.19.2.orig/kernel/sys.c   2007-06-04 22:00:44.000000000 +0200
++++ linux-2.6.19.2/kernel/sys.c        2007-06-04 22:02:06.000000000 +0200
+@@ -829,6 +829,7 @@
+               break;
+       case LINUX_REBOOT_CMD_CAD_ON:
++              kernel_restart(NULL);
+               C_A_D = 1;
+               break;
This page took 0.022379 seconds and 4 git commands to generate.