From a4b4bedce880046feeb5b206392960f395ed02ad Mon Sep 17 00:00:00 2001 From: Borislav Petkov Date: Sat, 10 Aug 2013 13:54:48 +0200 Subject: 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 --- drivers/edac/amd64_edac.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'drivers/edac/amd64_edac.h') 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; -- cgit v1.2.3