blob: f51286fe429d4dbbe32192a1d87c55c45f586512 [file] [log] [blame]
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001/*
2 * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14#include <linux/module.h>
15
Abhijeet Dharmapurikarefaca4f2011-12-27 16:24:07 -080016#include <mach/cpuidle.h>
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070017#include "idle.h"
Abhijeet Dharmapurikarefaca4f2011-12-27 16:24:07 -080018#include <mach/pm.h>
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070019
20void arch_idle(void)
21{ }
22
23void msm_pm_set_platform_data(struct msm_pm_platform_data *data, int count)
24{ }
25
Mahesh Sivasubramaniand23add12011-11-18 14:30:11 -070026void msm_pm_cpu_enter_lowpower(unsigned cpu)
27{
28 asm("wfi"
29 :
30 :
31 : "memory", "cc");
32}
33
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070034void msm_pm_set_max_sleep_time(int64_t max_sleep_time_ns) { }
35EXPORT_SYMBOL(msm_pm_set_max_sleep_time);