amd64_edac: Sanitize f10_get_base_addr_offset
authorBorislav Petkov <borislav.petkov@amd.com>
Fri, 10 Dec 2010 18:49:19 +0000 (19:49 +0100)
committerBorislav Petkov <borislav.petkov@amd.com>
Thu, 17 Mar 2011 13:46:13 +0000 (14:46 +0100)
This function maps the system address to the normalized DCT address.
Document what the code does for more clarity and wrap insane bitmasks in
a more understandable macro which generates them. Also, reduce number of
arguments passed to the function. Finally, rename this function to what
it actually does.

No functional change.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>

No differences found