From 9779265a68fd9eb8ab7fd687449c123373a0c232 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 4 Jun 2007 20:33:08 +0000 Subject: [PATCH] reboot now works on foxboard SVN-Revision: 7496 --- target/linux/etrax-2.6/patches/cris/018-reboot.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 target/linux/etrax-2.6/patches/cris/018-reboot.patch 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; + -- 2.30.2