kill unnecessary thread_info.h include
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 15 Dec 2023 22:08:47 +0000 (17:08 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 27 Dec 2023 16:49:56 +0000 (11:49 -0500)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
arch/x86/include/asm/fpu/types.h
arch/x86/include/asm/preempt.h

index eb810074f1e745576b45398e3536ac32b59d8716..3dad7cf25505aa4cb2601e55b12d1b71868a5c84 100644 (file)
@@ -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:
index 4527e1430c6dc13dbfd0f49a4edd26bf9fce007d..af77235fded63b64ec99844778796a294cf29d0a 100644 (file)
@@ -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 */