diff options
author | 2025-02-11 14:32:52 -0600 | |
---|---|---|
committer | 2025-02-18 19:15:08 +0100 | |
commit | c9e6f7fb1c581fe3b9150b02edb42dddd76fe769 (patch) | |
tree | 8c80c06cc3519a8e2977aaced52b73f7f9fdc93d | |
parent | Linux 6.14-rc3 (diff) | |
download | linux-rng-c9e6f7fb1c581fe3b9150b02edb42dddd76fe769.tar.xz linux-rng-c9e6f7fb1c581fe3b9150b02edb42dddd76fe769.zip |
x86/ACPI: CPPC: Add missing include
Some minimial kernel configurations will fail with -Werror=implicit-function-declaration
due to a missing header include.
Add that header.
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://patch.msgid.link/20250211203314.762755-1-superm1@kernel.org
[ rjw: Subject edit ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | arch/x86/kernel/acpi/cppc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/acpi/cppc.c b/arch/x86/kernel/acpi/cppc.c index d745dd586303..f96053c305c6 100644 --- a/arch/x86/kernel/acpi/cppc.c +++ b/arch/x86/kernel/acpi/cppc.c @@ -4,6 +4,8 @@ * Copyright (c) 2016, Intel Corporation. */ +#include <linux/bitfield.h> + #include <acpi/cppc_acpi.h> #include <asm/msr.h> #include <asm/processor.h> |