You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
581 B
23 lines
581 B
/*
|
|
* MPC85xx generic code.
|
|
*
|
|
* Maintained by Kumar Gala (see MAINTAINERS for contact information)
|
|
*
|
|
* Copyright 2005 Freescale Semiconductor Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by the
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
* option) any later version.
|
|
*/
|
|
#include <linux/irq.h>
|
|
#include <linux/module.h>
|
|
#include <asm/irq.h>
|
|
|
|
extern void abort(void);
|
|
|
|
void mpc85xx_restart(char *cmd)
|
|
{
|
|
local_irq_disable();
|
|
abort();
|
|
}
|
|
|