summaryrefslogtreecommitdiff
path: root/include/linux/edac.h
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2018-11-06 14:35:21 +0300
committerBorislav Petkov <bp@suse.de>2018-11-13 23:55:24 +0300
commit861e6ed667c83d64a42b0db41a22d6b4de4e913f (patch)
tree801fa729c0fcfb6bfde16fafa41181ef09f75263 /include/linux/edac.h
parent88a10b15173d76338e0808e4915edbd1aae5f264 (diff)
downloadlinux-861e6ed667c83d64a42b0db41a22d6b4de4e913f.tar.xz
EDAC: Drop per-memory controller buses
... and use the single edac_subsys object returned from subsys_system_register(). The idea is to have a single bus and multiple devices on it. Signed-off-by: Borislav Petkov <bp@suse.de> Acked-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> CC: Aristeu Rozanski Filho <arozansk@redhat.com> CC: Greg KH <gregkh@linuxfoundation.org> CC: Justin Ernst <justin.ernst@hpe.com> CC: linux-edac <linux-edac@vger.kernel.org> CC: Mauro Carvalho Chehab <mchehab@kernel.org> CC: Russ Anderson <rja@hpe.com> Cc: Tony Luck <tony.luck@intel.com> Link: https://lkml.kernel.org/r/20180926152752.GG5584@zn.tnic
Diffstat (limited to 'include/linux/edac.h')
-rw-r--r--include/linux/edac.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/edac.h b/include/linux/edac.h
index 1d0c9ea8825d..342dabda9c7e 100644
--- a/include/linux/edac.h
+++ b/include/linux/edac.h
@@ -669,10 +669,4 @@ struct mem_ctl_info {
bool fake_inject_ue;
u16 fake_inject_count;
};
-
-/*
- * Maximum number of memory controllers in the coherent fabric.
- */
-#define EDAC_MAX_MCS 2 * MAX_NUMNODES
-
#endif