aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/edac.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-06-12 09:55:57 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-06-27 08:01:30 -0400
commit38ced28b21efff18fd5e5c98a92830e8f0031cee (patch)
treee409eed80e257faa01acc1cdc05cb7c0e0be7cb2 /include/linux/edac.h
parent69154d069869b612383cef9d594f39b34ffba6dd (diff)
edac: allow specifying the error count with fake_inject
In order to test if the error counters are properly incremented, add a way to specify how many errors were generated by a trace. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/linux/edac.h')
-rw-r--r--include/linux/edac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/edac.h b/include/linux/edac.h
index 6677af853e30..bab9f8473dc1 100644
--- a/include/linux/edac.h
+++ b/include/linux/edac.h
@@ -665,6 +665,7 @@ struct mem_ctl_info {
665 struct dentry *debugfs; 665 struct dentry *debugfs;
666 u8 fake_inject_layer[EDAC_MAX_LAYERS]; 666 u8 fake_inject_layer[EDAC_MAX_LAYERS];
667 u32 fake_inject_ue; 667 u32 fake_inject_ue;
668 u16 fake_inject_count;
668#endif 669#endif
669}; 670};
670 671