pseries/cpuidle: Remove dependency of pseries.h file
authorDeepthi Dharwar <deepthi@linux.vnet.ibm.com>
Thu, 22 Aug 2013 09:53:42 +0000 (15:23 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 27 Aug 2013 04:36:09 +0000 (14:36 +1000)
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>
arch/powerpc/platforms/pseries/processor_idle.c
arch/powerpc/platforms/pseries/pseries.h

index 14899b1db1e92a09cbc3df78dcfd37b567d6e535..e6f05707fde33ac4d82e6ad781bc0c3f30dff4ff 100644 (file)
@@ -20,7 +20,6 @@
 #include <asm/runlatch.h>
 
 #include "plpar_wrappers.h"
-#include "pseries.h"
 
 struct cpuidle_driver pseries_idle_driver = {
        .name             = "pseries_idle",
index c2a3a258001c617e5dea30740a30871300f2d59a..d1b07e645302aaa5037f2344610a23d14f6d4409 100644 (file)
@@ -60,9 +60,6 @@ extern struct device_node *dlpar_configure_connector(u32);
 extern int dlpar_attach_node(struct device_node *);
 extern int dlpar_detach_node(struct device_node *);
 
-/* Snooze Delay, pseries_idle */
-DECLARE_PER_CPU(long, smt_snooze_delay);
-
 /* PCI root bridge prepare function override for pseries */
 struct pci_host_bridge;
 int pseries_root_bridge_prepare(struct pci_host_bridge *bridge);