Merge remote-tracking branch 's5p/for-next'
[linux-2.6/next.git] / arch / arm / mach-msm / include / mach / system.h
blobd2e83f42ba1654f79f5953b1e65b0cbefc174785
1 /* arch/arm/mach-msm/include/mach/system.h
3 * Copyright (C) 2007 Google, Inc.
5 * This software is licensed under the terms of the GNU General Public
6 * License version 2, as published by the Free Software Foundation, and
7 * may be copied, distributed, and modified under those terms.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
16 #include <mach/hardware.h>
18 void arch_idle(void);
20 static inline void arch_reset(char mode, const char *cmd)
22 for (;;) ; /* depends on IPC w/ other core */
25 /* low level hardware reset hook -- for example, hitting the
26 * PSHOLD line on the PMIC to hard reset the system
28 extern void (*msm_hw_reset_hook)(void);