summaryrefslogtreecommitdiffstats
path: root/drivers/edac/amd64_edac.h
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2013-08-10 13:54:48 +0200
committerBorislav Petkov <bp@suse.de>2013-08-12 16:01:56 +0200
commita4b4bedce880046feeb5b206392960f395ed02ad (patch)
treea6e812142387d468966287904bf22a413d899cb4 /drivers/edac/amd64_edac.h
parentamd64_edac: Add ECC decoding support for newer F15h models (diff)
downloadlinux-a4b4bedce880046feeb5b206392960f395ed02ad.tar.xz
linux-a4b4bedce880046feeb5b206392960f395ed02ad.zip
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.h4
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;