projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cpuidle/powernv: Remove redundant cpuidle_idle_call()
[deliverable/linux.git]
/
arch
/
powerpc
/
platforms
/
powernv
/
setup.c
diff --git
a/arch/powerpc/platforms/powernv/setup.c
b/arch/powerpc/platforms/powernv/setup.c
index 110f4fbd319f628373522e99672a95dcffda6688..81a7a0a79be75e0c8035baa992a6a674546c94eb 100644
(file)
--- a/
arch/powerpc/platforms/powernv/setup.c
+++ b/
arch/powerpc/platforms/powernv/setup.c
@@
-26,7
+26,6
@@
#include <linux/of_fdt.h>
#include <linux/interrupt.h>
#include <linux/bug.h>
#include <linux/of_fdt.h>
#include <linux/interrupt.h>
#include <linux/bug.h>
-#include <linux/cpuidle.h>
#include <linux/pci.h>
#include <asm/machdep.h>
#include <linux/pci.h>
#include <asm/machdep.h>
@@
-225,16
+224,6
@@
static int __init pnv_probe(void)
return 1;
}
return 1;
}
-void powernv_idle(void)
-{
- /* Hook to cpuidle framework if available, else
- * call on default platform idle code
- */
- if (cpuidle_idle_call()) {
- power7_idle();
- }
-}
-
define_machine(powernv) {
.name = "PowerNV",
.probe = pnv_probe,
define_machine(powernv) {
.name = "PowerNV",
.probe = pnv_probe,
@@
-244,7
+233,7
@@
define_machine(powernv) {
.show_cpuinfo = pnv_show_cpuinfo,
.progress = pnv_progress,
.machine_shutdown = pnv_shutdown,
.show_cpuinfo = pnv_show_cpuinfo,
.progress = pnv_progress,
.machine_shutdown = pnv_shutdown,
- .power_save = power
nv
_idle,
+ .power_save = power
7
_idle,
.calibrate_decr = generic_calibrate_decr,
.dma_set_mask = pnv_dma_set_mask,
#ifdef CONFIG_KEXEC
.calibrate_decr = generic_calibrate_decr,
.dma_set_mask = pnv_dma_set_mask,
#ifdef CONFIG_KEXEC
This page took
0.025922 seconds
and
5
git commands to generate.