2009-01-20 14:15:18 +08:00
|
|
|
/*
|
|
|
|
* linux/arch/arm/mach-mmp/include/mach/system.h
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ASM_MACH_SYSTEM_H
|
|
|
|
#define __ASM_MACH_SYSTEM_H
|
|
|
|
|
|
|
|
static inline void arch_idle(void)
|
|
|
|
{
|
|
|
|
cpu_do_idle();
|
|
|
|
}
|
|
|
|
|
2009-03-30 00:14:45 +08:00
|
|
|
static inline void arch_reset(char mode, const char *cmd)
|
2009-01-20 14:15:18 +08:00
|
|
|
{
|
|
|
|
cpu_reset(0);
|
|
|
|
}
|
|
|
|
#endif /* __ASM_MACH_SYSTEM_H */
|