Commit 3ba3fdfe authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Dave Hansen

x86/cpu: Make identify_boot_cpu() static

It's not longer used outside the source file.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarDave Hansen <dave.hansen@linux.intel.com>
Acked-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: default avatarMichael Kelley <mikelley@microsoft.com>
Tested-by: default avatarSohil Mehta <sohil.mehta@intel.com>
Tested-by: Juergen Gross <jgross@suse.com> # Xen PV (dom0 and unpriv. guest)
parent 6e3edb0f
...@@ -190,7 +190,6 @@ static inline unsigned long long l1tf_pfn_limit(void) ...@@ -190,7 +190,6 @@ static inline unsigned long long l1tf_pfn_limit(void)
} }
extern void early_cpu_init(void); extern void early_cpu_init(void);
extern void identify_boot_cpu(void);
extern void identify_secondary_cpu(struct cpuinfo_x86 *); extern void identify_secondary_cpu(struct cpuinfo_x86 *);
extern void print_cpu_info(struct cpuinfo_x86 *); extern void print_cpu_info(struct cpuinfo_x86 *);
void print_cpu_msr(struct cpuinfo_x86 *); void print_cpu_msr(struct cpuinfo_x86 *);
......
...@@ -1937,7 +1937,7 @@ void enable_sep_cpu(void) ...@@ -1937,7 +1937,7 @@ void enable_sep_cpu(void)
} }
#endif #endif
void __init identify_boot_cpu(void) static __init void identify_boot_cpu(void)
{ {
identify_cpu(&boot_cpu_data); identify_cpu(&boot_cpu_data);
if (HAS_KERNEL_IBT && cpu_feature_enabled(X86_FEATURE_IBT)) if (HAS_KERNEL_IBT && cpu_feature_enabled(X86_FEATURE_IBT))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment