/* Initiate a nice (hopefully) shutdown of Linux. We simply are going to try and send the init process a SIGINT signal. If this fails (why?), we'll simply force it off in a not-so-nice manner.  */
static int shutdown(void)
/* Initiate a nice (hopefully) shutdown of Linux. We simply are going to try and send the init process a SIGINT signal. If this fails (why?), we'll simply force it off in a not-so-nice manner.  */
static int shutdown(void)
{
	int rc = kill_cad_pid(SIGINT, 1);
	if (rc) {
		printk(KERN_ALERT "mf.c: SIGINT to init failed (%d), "
				"hard shutdown commencing\n", rc);
		mf_power_off();
	} else
		printk(KERN_INFO "mf.c: init has been successfully notified "
				"to proceed with shutdown\n");
	return rc;
}