Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269517
b: refs/heads/master
c: a110b5e
h: refs/heads/master
i:
  269515: a2741e5
v: v3
  • Loading branch information
Borislav Petkov authored and H. Peter Anvin committed Aug 5, 2011
1 parent 94e5578 commit ed05303
Show file tree
Hide file tree
Showing 3 changed files with 5 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: dfb09f9b7ab03fd367740e541a5caf830ed56726
refs/heads/master: a110b5ec7371592eac856ac5c22dc7b518952d44
3 changes: 3 additions & 0 deletions trunk/arch/x86/kernel/cpu/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,9 @@ static void __init early_identify_cpu(struct cpuinfo_x86 *c)
filter_cpuid_features(c, false);

setup_smep(c);

if (this_cpu->c_bsp_init)
this_cpu->c_bsp_init(c);
}

void __init early_cpu_init(void)
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/x86/kernel/cpu/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ struct cpu_dev {
struct cpu_model_info c_models[4];

void (*c_early_init)(struct cpuinfo_x86 *);
void (*c_bsp_init)(struct cpuinfo_x86 *);
void (*c_init)(struct cpuinfo_x86 *);
void (*c_identify)(struct cpuinfo_x86 *);
unsigned int (*c_size_cache)(struct cpuinfo_x86 *, unsigned int);
Expand Down

0 comments on commit ed05303

Please sign in to comment.