diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2011-08-24 16:44:22 (GMT) |
---|---|---|
committer | Borislav Petkov <borislav.petkov@amd.com> | 2011-10-06 10:34:04 (GMT) |
commit | b0b07a2bd4fbb6198d4e7142337214eeb77c417a (patch) | |
tree | 5beb6c94ff556abaa381a55b94f70e74d98c57a7 /drivers/edac/amd64_edac.c | |
parent | 295d8cda2689a74ae88bcece7b4cfe0bf8bf9a91 (diff) | |
download | linux-b0b07a2bd4fbb6198d4e7142337214eeb77c417a.tar.xz |
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 9a8bebc..9bf0b62 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); } /* |