]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/arm/mach-mmp/include/mach/system.h
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[net-next-2.6.git] / arch / arm / mach-mmp / include / mach / system.h
CommitLineData
49cbe786
EM
1/*
2 * linux/arch/arm/mach-mmp/include/mach/system.h
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8
9#ifndef __ASM_MACH_SYSTEM_H
10#define __ASM_MACH_SYSTEM_H
11
32c4dad8
MB
12#include <mach/cputype.h>
13
49cbe786
EM
14static inline void arch_idle(void)
15{
16 cpu_do_idle();
17}
18
8f6aef92 19static inline void arch_reset(char mode, const char *cmd)
49cbe786 20{
32c4dad8
MB
21 if (cpu_is_pxa168())
22 cpu_reset(0xffff0000);
23 else
24 cpu_reset(0);
49cbe786
EM
25}
26#endif /* __ASM_MACH_SYSTEM_H */