x86: fix bogus KERN_ALERT on oops
[wrt350n-kernel.git] / arch / mips / philips / pnx8550 / common / reset.c
blob7b2cbc5b2c7c1b810f62c32f3eb637de22cc6f3d
1 /*.
3 * ########################################################################
5 * This program is free software; you can distribute it and/or modify it
6 * under the terms of the GNU General Public License (Version 2) as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
18 * ########################################################################
20 * Reset the PNX8550 board.
23 #include <linux/slab.h>
24 #include <asm/reboot.h>
25 #include <glb.h>
27 void pnx8550_machine_restart(char *command)
29 char head[] = "************* Machine restart *************";
30 char foot[] = "*******************************************";
32 printk("\n\n");
33 printk("%s\n", head);
34 if (command != NULL)
35 printk("* %s\n", command);
36 printk("%s\n", foot);
38 PNX8550_RST_CTL = PNX8550_RST_DO_SW_RST;
41 void pnx8550_machine_halt(void)
43 printk("*** Machine halt. (Not implemented) ***\n");
46 void pnx8550_machine_power_off(void)
48 printk("*** Machine power off. (Not implemented) ***\n");