system.h 759 B

1234567891011121314151617181920212223
  1. /* arch/arm/mach-msm/include/mach/system.h
  2. *
  3. * Copyright (C) 2007 Google, Inc.
  4. *
  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.
  8. *
  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.
  13. *
  14. */
  15. static inline void arch_idle(void)
  16. {
  17. cpu_do_idle();
  18. }
  19. /* low level hardware reset hook -- for example, hitting the
  20. * PSHOLD line on the PMIC to hard reset the system
  21. */
  22. extern void (*msm_hw_reset_hook)(void);