system.h 623 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright 2000 Deep Blue Solutions Ltd
  3. * Copyright 2003 ARM Limited
  4. * Copyright 2008 Cavium Networks
  5. *
  6. * This file is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License, Version 2, as
  8. * published by the Free Software Foundation.
  9. */
  10. #ifndef __MACH_SYSTEM_H
  11. #define __MACH_SYSTEM_H
  12. #include <linux/io.h>
  13. #include <asm/proc-fns.h>
  14. #include <mach/hardware.h>
  15. static inline void arch_idle(void)
  16. {
  17. /*
  18. * This should do all the clock switching
  19. * and wait for interrupt tricks
  20. */
  21. cpu_do_idle();
  22. }
  23. void arch_reset(char mode, const char *cmd);
  24. #endif