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>
This commit is contained in:
parent
17e8de7e18
commit
9b3fbd6c2a
|
@ -20,7 +20,6 @@
|
||||||
#include <asm/runlatch.h>
|
#include <asm/runlatch.h>
|
||||||
|
|
||||||
#include "plpar_wrappers.h"
|
#include "plpar_wrappers.h"
|
||||||
#include "pseries.h"
|
|
||||||
|
|
||||||
struct cpuidle_driver pseries_idle_driver = {
|
struct cpuidle_driver pseries_idle_driver = {
|
||||||
.name = "pseries_idle",
|
.name = "pseries_idle",
|
||||||
|
|
|
@ -60,9 +60,6 @@ extern struct device_node *dlpar_configure_connector(u32);
|
||||||
extern int dlpar_attach_node(struct device_node *);
|
extern int dlpar_attach_node(struct device_node *);
|
||||||
extern int dlpar_detach_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 */
|
/* PCI root bridge prepare function override for pseries */
|
||||||
struct pci_host_bridge;
|
struct pci_host_bridge;
|
||||||
int pseries_root_bridge_prepare(struct pci_host_bridge *bridge);
|
int pseries_root_bridge_prepare(struct pci_host_bridge *bridge);
|
||||||
|
|
Loading…
Reference in New Issue