blob: 92042703b94df6e46f34242b84a93673ec453b21 [file] [log] [blame]
Magnus Dammc793c1b2010-02-05 11:14:49 +00001#ifndef __ASM_ARCH_SYSTEM_H
2#define __ASM_ARCH_SYSTEM_H
3
David Howells9f97da72012-03-28 18:30:01 +01004#include <asm/system_misc.h>
5
Magnus Dammc793c1b2010-02-05 11:14:49 +00006static inline void arch_idle(void)
7{
8 cpu_do_idle();
9}
10
11static inline void arch_reset(char mode, const char *cmd)
12{
Russell Kinge879c862011-11-01 13:16:26 +000013 soft_restart(0);
Magnus Dammc793c1b2010-02-05 11:14:49 +000014}
15
16#endif