summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorZhou Ding <zhouding@cmss.chinamobile.com>2024-12-17 19:28:59 +0300
committerIngo Molnar <mingo@kernel.org>2025-02-26 17:40:23 +0300
commit7d8f03f7dd9f7d108b8d5af12fdc57e10555981f (patch)
tree162b1e30bb9cfdea58671cbcc49d9216708a417e /drivers/platform/x86/intel/pmt/class.c
parenta2498e5c453b3d8d054d77751487cd593332f8c2 (diff)
downloadlinux-7d8f03f7dd9f7d108b8d5af12fdc57e10555981f.tar.xz
x86/boot: Add missing has_cpuflag() prototype
We get a warning when building the kernel with W=1: arch/x86/boot/compressed/cpuflags.c:4:6: warning: no previous prototype for ‘has_cpuflag’ [-Werror=missing-prototypes] 4 | bool has_cpuflag(int flag) | ^~~~~~~~~~~ Add a function declaration to cpuflags.h Signed-off-by: Zhou Ding <zhouding@cmss.chinamobile.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20241217162859.1167889-1-zhouding@cmss.chinamobile.com
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions