summaryrefslogtreecommitdiffstats
path: root/drivers/edac/amd64_edac.h
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2010-10-13 16:11:59 +0200
committerBorislav Petkov <borislav.petkov@amd.com>2011-01-07 11:33:57 +0100
commitcc4d8860fc37dd315b16a43202400d822ab63221 (patch)
tree9058c36eb01cd7186a1bf11df21df235dc3e904a /drivers/edac/amd64_edac.h
parentamd64_edac: Rework printk macros (diff)
downloadlinux-cc4d8860fc37dd315b16a43202400d822ab63221.tar.xz
linux-cc4d8860fc37dd315b16a43202400d822ab63221.zip
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