[PATCH 49/50] kill unnecessary thread_info.h include

From: Kent Overstreet
Date: Fri Dec 15 2023 - 22:39:01 EST


Signed-off-by: Kent Overstreet <kent.overstreet@xxxxxxxxx>
---
arch/x86/include/asm/fpu/types.h | 2 ++
arch/x86/include/asm/preempt.h | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/x86/include/asm/fpu/types.h b/arch/x86/include/asm/fpu/types.h
index eb810074f1e7..3dad7cf25505 100644
--- a/arch/x86/include/asm/fpu/types.h
+++ b/arch/x86/include/asm/fpu/types.h
@@ -5,6 +5,8 @@
#ifndef _ASM_X86_FPU_H
#define _ASM_X86_FPU_H

+#include <asm/page_types.h>
+
/*
* The legacy x87 FPU state format, as saved by FSAVE and
* restored by the FRSTOR instructions:
diff --git a/arch/x86/include/asm/preempt.h b/arch/x86/include/asm/preempt.h
index 4527e1430c6d..af77235fded6 100644
--- a/arch/x86/include/asm/preempt.h
+++ b/arch/x86/include/asm/preempt.h
@@ -6,7 +6,6 @@
#include <asm/percpu.h>
#include <asm/current.h>

-#include <linux/thread_info.h>
#include <linux/static_call_types.h>

/* We use the MSB mostly because its available */
--
2.43.0