headers/deps: x86/asm: Optimize <asm/segment.h> dependencies, remove <asm/segment_api.h> inclusion

          --------------------------------------------------------------------
          | Combined, preprocessed C code size of header, without line markers,
          | with comments stripped:
          -------------------------
  before: | #include <asm/segment.h>                | LOC:  1,752 | headers:  104
   after: | #include <asm/segment.h>                | LOC:     20 | headers:   17

Fix dangling dependencies.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
diff --git a/arch/x86/boot/compressed/idt_handlers_64.S b/arch/x86/boot/compressed/idt_handlers_64.S
index 22890e1..8457f16 100644
--- a/arch/x86/boot/compressed/idt_handlers_64.S
+++ b/arch/x86/boot/compressed/idt_handlers_64.S
@@ -8,6 +8,7 @@
  */
 
 #include <asm/segment.h>
+#include <linux/linkage.h>
 
 /* For ORIG_RAX */
 #include "../../entry/calling.h"
diff --git a/arch/x86/include/asm/elf_api.h b/arch/x86/include/asm/elf_api.h
index abf60e2..b3b299e 100644
--- a/arch/x86/include/asm/elf_api.h
+++ b/arch/x86/include/asm/elf_api.h
@@ -11,6 +11,7 @@
 #include <asm/user.h>
 #include <asm/auxvec.h>
 #include <asm/fsgsbase.h>
+#include <asm/segment_api.h>
 
 #include <asm/vdso.h>
 
diff --git a/arch/x86/include/asm/mmu_context.h b/arch/x86/include/asm/mmu_context.h
index 125699b..79c5904 100644
--- a/arch/x86/include/asm/mmu_context.h
+++ b/arch/x86/include/asm/mmu_context.h
@@ -2,6 +2,7 @@
 #ifndef _ASM_X86_MMU_CONTEXT_H
 #define _ASM_X86_MMU_CONTEXT_H
 
+#include <asm/segment_api.h>
 #include <asm/pgtable_api_access.h>
 
 #include <linux/mm_api.h>
diff --git a/arch/x86/include/asm/segment.h b/arch/x86/include/asm/segment.h
index b98cc37..a272849 100644
--- a/arch/x86/include/asm/segment.h
+++ b/arch/x86/include/asm/segment.h
@@ -3,6 +3,5 @@
 #define _ASM_X86_SEGMENT_H
 
 #include <asm/segment_types.h>
-#include <asm/segment_api.h>
 
 #endif /* _ASM_X86_SEGMENT_H */