diff options
author | Borislav Petkov <bp@suse.de> | 2013-08-10 15:54:48 +0400 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2013-08-12 18:01:56 +0400 |
commit | a4b4bedce880046feeb5b206392960f395ed02ad (patch) | |
tree | a6e812142387d468966287904bf22a413d899cb4 /drivers/edac/amd64_edac.h | |
parent | 18b94f66f9537003cee30d475d79a57c58f1e1d8 (diff) | |
download | linux-a4b4bedce880046feeb5b206392960f395ed02ad.tar.xz |
amd64_edac: Get rid of boot_cpu_data accesses
Now that we cache (family, model, stepping) locally, use them instead of
boot_cpu_data.
No functionality change.
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/amd64_edac.h')
-rw-r--r-- | drivers/edac/amd64_edac.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h index 8fddad7b3b95..d2443cfa0698 100644 --- a/drivers/edac/amd64_edac.h +++ b/drivers/edac/amd64_edac.h @@ -348,7 +348,9 @@ struct amd64_pvt { u16 mc_node_id; /* MC index of this MC node */ u8 fam; /* CPU family */ - u8 model; /* CPU model */ + u8 model; /* ... model */ + u8 stepping; /* ... stepping */ + int ext_model; /* extended model value of this node */ int channel_count; |