Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356269
b: refs/heads/master
c: e6ebf5d
h: refs/heads/master
i:
  356267: e0376f1
v: v3
  • Loading branch information
Fenghua Yu authored and H. Peter Anvin committed Jan 31, 2013
1 parent 529e193 commit 5052201
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d288e1cf8e62f3e4034f1f021f047009c4ac0b3c
refs/heads/master: e6ebf5deaaaa33b661f0db86380c232b162bd68c
8 changes: 8 additions & 0 deletions trunk/arch/x86/kernel/cpu/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,12 @@ void __cpuinit cpu_init(void)
int cpu;
int i;

/*
* Load microcode on this cpu if a valid microcode is available.
* This is early microcode loading procedure.
*/
load_ucode_ap();

cpu = stack_smp_processor_id();
t = &per_cpu(init_tss, cpu);
oist = &per_cpu(orig_ist, cpu);
Expand Down Expand Up @@ -1311,6 +1317,8 @@ void __cpuinit cpu_init(void)
struct tss_struct *t = &per_cpu(init_tss, cpu);
struct thread_struct *thread = &curr->thread;

show_ucode_info_early();

if (cpumask_test_and_set_cpu(cpu, cpu_initialized_mask)) {
printk(KERN_WARNING "CPU#%d already initialized!\n", cpu);
for (;;)
Expand Down

0 comments on commit 5052201

Please sign in to comment.