reboot now works on foxboard
[openwrt-10.03/.git] / target / linux / etrax-2.6 / patches / cris / 018-reboot.patch
1 --- linux-2.6.19.2.orig/kernel/sys.c    2007-06-04 22:00:44.000000000 +0200
2 +++ linux-2.6.19.2/kernel/sys.c 2007-06-04 22:02:06.000000000 +0200
3 @@ -829,6 +829,7 @@
4                 break;
5  
6         case LINUX_REBOOT_CMD_CAD_ON:
7 +               kernel_restart(NULL);
8                 C_A_D = 1;
9                 break;
10