reboot now works on foxboard
SVN-Revision: 7496
This commit is contained in:
parent
804191bc40
commit
66e5a6becc
1 changed files with 10 additions and 0 deletions
10
target/linux/etrax-2.6/patches/cris/018-reboot.patch
Normal file
10
target/linux/etrax-2.6/patches/cris/018-reboot.patch
Normal file
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue