Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a250347 authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar
Browse files

x86: change identify_cpu to static



Signed-off-by: default avatarYinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent f580366f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -427,7 +427,7 @@ __setup("serialnumber", x86_serial_nr_setup);
/*
/*
 * This does the hard work of actually picking apart the CPU stuff...
 * This does the hard work of actually picking apart the CPU stuff...
 */
 */
void __cpuinit identify_cpu(struct cpuinfo_x86 *c)
static void __cpuinit identify_cpu(struct cpuinfo_x86 *c)
{
{
	int i;
	int i;


+1 −1
Original line number Original line Diff line number Diff line
@@ -312,7 +312,7 @@ static void __cpuinit early_identify_cpu(struct cpuinfo_x86 *c)
/*
/*
 * This does the hard work of actually picking apart the CPU stuff...
 * This does the hard work of actually picking apart the CPU stuff...
 */
 */
void __cpuinit identify_cpu(struct cpuinfo_x86 *c)
static void __cpuinit identify_cpu(struct cpuinfo_x86 *c)
{
{
	int i;
	int i;


+0 −1
Original line number Original line Diff line number Diff line
@@ -154,7 +154,6 @@ static inline int hlt_works(int cpu)
extern void cpu_detect(struct cpuinfo_x86 *c);
extern void cpu_detect(struct cpuinfo_x86 *c);


extern void early_cpu_init(void);
extern void early_cpu_init(void);
extern void identify_cpu(struct cpuinfo_x86 *);
extern void identify_boot_cpu(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 *);