cpuidle.c 515 B

123456789101112131415161718192021
  1. /*
  2. * Copyright 2012 Linaro Ltd.
  3. *
  4. * The code contained herein is licensed under the GNU General Public
  5. * License. You may obtain a copy of the GNU General Public License
  6. * Version 2 or later at the following locations:
  7. *
  8. * http://www.opensource.org/licenses/gpl-license.html
  9. * http://www.gnu.org/copyleft/gpl.html
  10. */
  11. #include <linux/cpuidle.h>
  12. #include <asm/proc-fns.h>
  13. int arm_cpuidle_simple_enter(struct cpuidle_device *dev,
  14. struct cpuidle_driver *drv, int index)
  15. {
  16. cpu_do_idle();
  17. return index;
  18. }