summaryrefslogtreecommitdiff
path: root/drivers/edac/amd64_edac.h
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2013-08-10 11:54:48 (GMT)
committerBorislav Petkov <bp@suse.de>2013-08-12 14:01:56 (GMT)
commita4b4bedce880046feeb5b206392960f395ed02ad (patch)
treea6e812142387d468966287904bf22a413d899cb4 /drivers/edac/amd64_edac.h
parent18b94f66f9537003cee30d475d79a57c58f1e1d8 (diff)
downloadlinux-fsl-qoriq-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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h
index 8fddad7..d2443cf 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;