diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-11-10 13:16:40 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-11-24 17:44:04 +0100 |
commit | 6fd13452c1a2e6dfe5b9a4c84c1144383cc55472 (patch) | |
tree | cbb8748c4043b796dfdf23ce89e8e76e80eb2fa9 /include/acpi/processor.h | |
parent | 136057256686de39cc3a07c2e39ef6bc43003ff6 (diff) | |
download | linux-6fd13452c1a2e6dfe5b9a4c84c1144383cc55472.tar.gz linux-6fd13452c1a2e6dfe5b9a4c84c1144383cc55472.tar.bz2 linux-6fd13452c1a2e6dfe5b9a4c84c1144383cc55472.zip |
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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/processor.h')
-rw-r--r-- | include/acpi/processor.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/acpi/processor.h b/include/acpi/processor.h index 683e124ad517..194027371928 100644 --- a/include/acpi/processor.h +++ b/include/acpi/processor.h @@ -2,11 +2,16 @@ #ifndef __ACPI_PROCESSOR_H #define __ACPI_PROCESSOR_H -#include <linux/kernel.h> #include <linux/cpu.h> #include <linux/cpufreq.h> #include <linux/pm_qos.h> +#include <linux/printk.h> +#include <linux/sched.h> +#include <linux/smp.h> #include <linux/thermal.h> +#include <linux/types.h> +#include <linux/workqueue.h> + #include <asm/acpi.h> #define ACPI_PROCESSOR_CLASS "processor" |