summaryrefslogtreecommitdiffstats
path: root/target/linux/etrax-2.6/patches/cris/018-reboot.patch
blob: b9d138373f6978d7471933010f21a167076b1288 (plain)
1
2
3
4
5
6
7
8
9
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;