Commit 6fd13452 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Rafael J. Wysocki

ACPI: processor: Replace kernel.h with the necessary inclusions

When kernel.h is used in the headers it adds a lot into dependency hell,
especially when there are circular dependencies are involved.

Replace kernel.h inclusion with the list of what is really being used.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 13605725
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
#define __ACPI_NUMA_H #define __ACPI_NUMA_H
#ifdef CONFIG_ACPI_NUMA #ifdef CONFIG_ACPI_NUMA
#include <linux/kernel.h>
#include <linux/numa.h> #include <linux/numa.h>
/* Proximity bitmap length */ /* Proximity bitmap length */
......
...@@ -2,11 +2,16 @@ ...@@ -2,11 +2,16 @@
#ifndef __ACPI_PROCESSOR_H #ifndef __ACPI_PROCESSOR_H
#define __ACPI_PROCESSOR_H #define __ACPI_PROCESSOR_H
#include <linux/kernel.h>
#include <linux/cpu.h> #include <linux/cpu.h>
#include <linux/cpufreq.h> #include <linux/cpufreq.h>
#include <linux/pm_qos.h> #include <linux/pm_qos.h>
#include <linux/printk.h>
#include <linux/sched.h>
#include <linux/smp.h>
#include <linux/thermal.h> #include <linux/thermal.h>
#include <linux/types.h>
#include <linux/workqueue.h>
#include <asm/acpi.h> #include <asm/acpi.h>
#define ACPI_PROCESSOR_CLASS "processor" #define ACPI_PROCESSOR_CLASS "processor"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment