summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-04 20:33:08 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-04 20:33:08 +0000
commitad76199473dd60af196f8f4c8bc06b7bb6893efe (patch)
treee74b99fe3e2506f7874643d4fcceae4530bfe52a
parente3233c3a4ff8ba18113f6e127f242518d97867e1 (diff)
reboot now works on foxboard
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7496 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/etrax-2.6/patches/cris/018-reboot.patch10
1 files changed, 10 insertions, 0 deletions
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
index 0000000000..b9d138373f
--- /dev/null
+++ b/target/linux/etrax-2.6/patches/cris/018-reboot.patch
@@ -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;
+