blob: cb0637933a85b89051f0b48e09051adcd0fb1306 (
plain) (
tree)
|
|
/*
* 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
#include <mach/cputype.h>
static inline void arch_idle(void)
{
cpu_do_idle();
}
static inline void arch_reset(char mode, const char *cmd)
{
if (cpu_is_pxa168())
soft_restart(0xffff0000);
else
soft_restart(0);
}
#endif /* __ASM_MACH_SYSTEM_H */
|