diff options
author | Deepthi Dharwar <deepthi@linux.vnet.ibm.com> | 2013-08-22 05:53:42 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-08-27 00:36:09 -0400 |
commit | 9b3fbd6c2a9bc8c9acdab70542783fcce52619e2 (patch) | |
tree | 9ec60ca05e4ba4adb8c89885d3b05bfefa75e44d /arch | |
parent | 17e8de7e1878bbd45f3e268932e997496ddbbfe7 (diff) |
pseries/cpuidle: Remove dependency of pseries.h file
As a part of pseries_idle cleanup to make the backend driver
code common to both pseries and powernv.
Remove non-essential smt_snooze_delay declaration in pseries.h
header file and pseries.h file inclusion in
pseries/processor_idle.c
Signed-off-by: Deepthi Dharwar <deepthi@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/pseries/processor_idle.c | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/pseries/pseries.h | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/pseries/processor_idle.c b/arch/powerpc/platforms/pseries/processor_idle.c index 14899b1db1e9..e6f05707fde3 100644 --- a/arch/powerpc/platforms/pseries/processor_idle.c +++ b/arch/powerpc/platforms/pseries/processor_idle.c | |||
@@ -20,7 +20,6 @@ | |||
20 | #include <asm/runlatch.h> | 20 | #include <asm/runlatch.h> |
21 | 21 | ||
22 | #include "plpar_wrappers.h" | 22 | #include "plpar_wrappers.h" |
23 | #include "pseries.h" | ||
24 | 23 | ||
25 | struct cpuidle_driver pseries_idle_driver = { | 24 | struct cpuidle_driver pseries_idle_driver = { |
26 | .name = "pseries_idle", | 25 | .name = "pseries_idle", |
diff --git a/arch/powerpc/platforms/pseries/pseries.h b/arch/powerpc/platforms/pseries/pseries.h index c2a3a258001c..d1b07e645302 100644 --- a/arch/powerpc/platforms/pseries/pseries.h +++ b/arch/powerpc/platforms/pseries/pseries.h | |||
@@ -60,9 +60,6 @@ extern struct device_node *dlpar_configure_connector(u32); | |||
60 | extern int dlpar_attach_node(struct device_node *); | 60 | extern int dlpar_attach_node(struct device_node *); |
61 | extern int dlpar_detach_node(struct device_node *); | 61 | extern int dlpar_detach_node(struct device_node *); |
62 | 62 | ||
63 | /* Snooze Delay, pseries_idle */ | ||
64 | DECLARE_PER_CPU(long, smt_snooze_delay); | ||
65 | |||
66 | /* PCI root bridge prepare function override for pseries */ | 63 | /* PCI root bridge prepare function override for pseries */ |
67 | struct pci_host_bridge; | 64 | struct pci_host_bridge; |
68 | int pseries_root_bridge_prepare(struct pci_host_bridge *bridge); | 65 | int pseries_root_bridge_prepare(struct pci_host_bridge *bridge); |