aboutsummaryrefslogtreecommitdiff
path: root/drivers/soc/qcom/core_ctl_helper.c
diff options
context:
space:
mode:
authorKaan Külahlı <kaankulahli@gmail.com>2017-05-25 19:54:16 +0300
committerGitHub <noreply@github.com>2017-05-25 19:54:16 +0300
commit943acc22babac805296a8d6de42f424f8c00df5a (patch)
treeb710cb20d9b8c1e50a7705564ed08a968eb4c163 /drivers/soc/qcom/core_ctl_helper.c
parent6f93f25b482cb3833bad393a2f4cde8a0d1a69ca (diff)
parent14f0a97da192d0cf20ae234389925827d9c2c119 (diff)
Merge pull request #3 from kernel-hut/cm-14.1HEADn7.1
pull request
Diffstat (limited to 'drivers/soc/qcom/core_ctl_helper.c')
-rw-r--r--drivers/soc/qcom/core_ctl_helper.c62
1 files changed, 0 insertions, 62 deletions
diff --git a/drivers/soc/qcom/core_ctl_helper.c b/drivers/soc/qcom/core_ctl_helper.c
deleted file mode 100644
index 3b25d9811cf..00000000000
--- a/drivers/soc/qcom/core_ctl_helper.c
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Copyright (c) 2014, The Linux Foundation. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 and
- * only version 2 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- */
-
-#include <linux/cpu.h>
-#include <linux/cpufreq.h>
-#include <linux/ktime.h>
-#include <linux/hrtimer.h>
-#include <linux/module.h>
-#include <linux/init.h>
-#include <soc/qcom/core_ctl.h>
-
-void core_ctl_block_hotplug(void)
-{
- get_online_cpus();
-}
-EXPORT_SYMBOL(core_ctl_block_hotplug);
-
-void core_ctl_unblock_hotplug(void)
-{
- put_online_cpus();
-}
-EXPORT_SYMBOL(core_ctl_unblock_hotplug);
-
-s64 core_ctl_get_time(void)
-{
- return ktime_to_ms(ktime_get());
-}
-EXPORT_SYMBOL(core_ctl_get_time);
-
-struct cpufreq_policy *core_ctl_get_policy(int cpu)
-{
- return cpufreq_cpu_get(cpu);
-}
-EXPORT_SYMBOL(core_ctl_get_policy);
-
-void core_ctl_put_policy(struct cpufreq_policy *policy)
-{
- cpufreq_cpu_put(policy);
-}
-EXPORT_SYMBOL(core_ctl_put_policy);
-
-struct device *core_ctl_find_cpu_device(unsigned cpu)
-{
- return get_cpu_device(cpu);
-}
-EXPORT_SYMBOL(core_ctl_find_cpu_device);
-
-int __ref core_ctl_online_core(unsigned int cpu)
-{
- return cpu_up(cpu);
-}
-EXPORT_SYMBOL(core_ctl_online_core);