From 392e8802486cb573b916e746010e141a75f507e6 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 09:58:27 +0800 Subject: init android origin source code --- ANDROID_3.4.5/arch/arm/kernel/cpuidle.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ANDROID_3.4.5/arch/arm/kernel/cpuidle.c (limited to 'ANDROID_3.4.5/arch/arm/kernel/cpuidle.c') diff --git a/ANDROID_3.4.5/arch/arm/kernel/cpuidle.c b/ANDROID_3.4.5/arch/arm/kernel/cpuidle.c new file mode 100644 index 00000000..89545f6c --- /dev/null +++ b/ANDROID_3.4.5/arch/arm/kernel/cpuidle.c @@ -0,0 +1,21 @@ +/* + * Copyright 2012 Linaro Ltd. + * + * The code contained herein is licensed under the GNU General Public + * License. You may obtain a copy of the GNU General Public License + * Version 2 or later at the following locations: + * + * http://www.opensource.org/licenses/gpl-license.html + * http://www.gnu.org/copyleft/gpl.html + */ + +#include +#include + +int arm_cpuidle_simple_enter(struct cpuidle_device *dev, + struct cpuidle_driver *drv, int index) +{ + cpu_do_idle(); + + return index; +} -- cgit