Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113314
b: refs/heads/master
c: c3b71bc
h: refs/heads/master
v: v3
  • Loading branch information
Peter Oruba authored and Ingo Molnar committed Jul 28, 2008
1 parent e5537ac commit e860d4e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8e61028dfdc6b8ca996abfe8f9baef6792ea2904
refs/heads/master: c3b71bcec0380836caac9b524fa1585b469b7456
8 changes: 1 addition & 7 deletions trunk/arch/x86/kernel/microcode.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,7 @@ static DEFINE_SPINLOCK(microcode_update_lock);
/* no concurrent ->write()s are allowed on /dev/cpu/microcode */
static DEFINE_MUTEX(microcode_mutex);

static struct ucode_cpu_info {
int valid;
unsigned int sig;
unsigned int pf;
unsigned int rev;
struct microcode *mc;
} ucode_cpu_info[NR_CPUS];
static struct ucode_cpu_info ucode_cpu_info[NR_CPUS];

static void collect_cpu_info(int cpu_num)
{
Expand Down
8 changes: 8 additions & 0 deletions trunk/include/asm-x86/microcode.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,11 @@ struct extended_sigtable {
unsigned int reserved[3];
struct extended_signature sigs[0];
};

struct ucode_cpu_info {
int valid;
unsigned int sig;
unsigned int pf;
unsigned int rev;
struct microcode *mc;
};

0 comments on commit e860d4e

Please sign in to comment.