summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2007-06-04 20:33:08 +0000
committerJohn Crispin <john@openwrt.org>2007-06-04 20:33:08 +0000
commit66e5a6becc2217dd72c980d0c724a9c6f1c68741 (patch)
tree9a1176dfe2825ca65b0d4c7b3f02565593928c0a /target
parent804191bc404dbc23030d732f41c0d4082e768307 (diff)
downloadmaster-31e0f0ae-66e5a6becc2217dd72c980d0c724a9c6f1c68741.tar.gz
master-31e0f0ae-66e5a6becc2217dd72c980d0c724a9c6f1c68741.tar.bz2
master-31e0f0ae-66e5a6becc2217dd72c980d0c724a9c6f1c68741.zip
reboot now works on foxboard
SVN-Revision: 7496
Diffstat (limited to 'target')
-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;
+