summaryrefslogtreecommitdiff
path: root/drivers/edac/amd64_edac.h
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2010-10-13 18:11:59 +0400
committerBorislav Petkov <borislav.petkov@amd.com>2011-01-07 13:33:57 +0300
commitcc4d8860fc37dd315b16a43202400d822ab63221 (patch)
tree9058c36eb01cd7186a1bf11df21df235dc3e904a /drivers/edac/amd64_edac.h
parent24f9a7fe3f19f3fd310f556364d01a22911724b3 (diff)
downloadlinux-cc4d8860fc37dd315b16a43202400d822ab63221.tar.xz
amd64_edac: Allocate driver instances dynamically
Remove static allocation in favor of dynamically allocating space for as many driver instances as northbridges present on the system. There should be no functional change resulting from this patch. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac/amd64_edac.h')
-rw-r--r--drivers/edac/amd64_edac.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h
index f15e2b257e72..5538cc19cf4a 100644
--- a/drivers/edac/amd64_edac.h
+++ b/drivers/edac/amd64_edac.h
@@ -147,8 +147,6 @@
#define EDAC_AMD64_VERSION "v3.3.0"
#define EDAC_MOD_STR "amd64_edac"
-#define EDAC_MAX_NUMNODES 8
-
/* Extended Model from CPUID, for CPU Revision numbers */
#define K8_REV_D 1
#define K8_REV_E 2