summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-06-12 17:55:57 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-06-27 16:01:30 +0400
commit38ced28b21efff18fd5e5c98a92830e8f0031cee (patch)
treee409eed80e257faa01acc1cdc05cb7c0e0be7cb2 /include/linux
parent69154d069869b612383cef9d594f39b34ffba6dd (diff)
downloadlinux-38ced28b21efff18fd5e5c98a92830e8f0031cee.tar.xz
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')
-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 {
struct dentry *debugfs;
u8 fake_inject_layer[EDAC_MAX_LAYERS];
u32 fake_inject_ue;
+ u16 fake_inject_count;
#endif
};