summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2010-10-21 18:52:53 +0200
committerBorislav Petkov <borislav.petkov@amd.com>2011-03-17 14:46:11 +0100
commit7f19bf755ced6fa16dbf118c0eff60586760496b (patch)
tree93b050e1a30efe33aaa1ffdf26473bd9ab55a585 /block
parentb2b0c605436e343a9a24f00e7fc8fb89a8316e20 (diff)
amd64_edac: Remove DRAM base/limit subfields caching
Add a struct representing the DRAM base/limit range pairs and remove all cached subfields. Replace them with accessor functions, which actually saves us some space: text data bss dec hex filename 14712 1577 336 16625 40f1 drivers/edac/amd64_edac_mod.o.after 14831 1609 336 16776 4188 drivers/edac/amd64_edac_mod.o.before Also, it simplifies the code a lot allowing to merge the K8 and F10h routines. No functional change. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions