mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
amd64_edac: Sanitize f10_get_base_addr_offset
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>
This commit is contained in:
parent
229a7a11ac
commit
c8e518d567
2 changed files with 50 additions and 48 deletions
Loading…
Add table
Add a link
Reference in a new issue