aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBorislav Petkov <[email protected]>2018-11-06 12:35:21 +0100
committerBorislav Petkov <[email protected]>2018-11-13 21:55:24 +0100
commit861e6ed667c83d64a42b0db41a22d6b4de4e913f (patch)
tree801fa729c0fcfb6bfde16fafa41181ef09f75263 /include/linux
parent88a10b15173d76338e0808e4915edbd1aae5f264 (diff)
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 <[email protected]> Acked-by: Mauro Carvalho Chehab <[email protected]> CC: Aristeu Rozanski Filho <[email protected]> CC: Greg KH <[email protected]> CC: Justin Ernst <[email protected]> CC: linux-edac <[email protected]> CC: Mauro Carvalho Chehab <[email protected]> CC: Russ Anderson <[email protected]> Cc: Tony Luck <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'include/linux')
-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