diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2011-08-24 18:44:22 +0200 |
---|---|---|
committer | Borislav Petkov <borislav.petkov@amd.com> | 2011-10-06 12:34:04 +0200 |
commit | b0b07a2bd4fbb6198d4e7142337214eeb77c417a (patch) | |
tree | 5beb6c94ff556abaa381a55b94f70e74d98c57a7 /drivers/edac/amd64_edac.c | |
parent | 295d8cda2689a74ae88bcece7b4cfe0bf8bf9a91 (diff) |
EDAC, MCE, AMD: Simplify NB MCE decoder interface
Drop third nbcfg argument which is old remains and not required anymore.
No functionality change.
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac/amd64_edac.c')
-rw-r--r-- | drivers/edac/amd64_edac.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c index 9a8bebcf6b1..9bf0b622852 100644 --- a/drivers/edac/amd64_edac.c +++ b/drivers/edac/amd64_edac.c @@ -1953,11 +1953,9 @@ static inline void __amd64_decode_bus_error(struct mem_ctl_info *mci, amd64_handle_ue(mci, m); } -void amd64_decode_bus_error(int node_id, struct mce *m, u32 nbcfg) +void amd64_decode_bus_error(int node_id, struct mce *m) { - struct mem_ctl_info *mci = mcis[node_id]; - - __amd64_decode_bus_error(mci, m); + __amd64_decode_bus_error(mcis[node_id], m); } /* |