From c8e518d5673d6b694ab843ee586438cdff0b3809 Mon Sep 17 00:00:00 2001 From: Borislav Petkov Date: Fri, 10 Dec 2010 19:49:19 +0100 Subject: [PATCH] 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 --- Reading git-format-patch failed