diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-06-12 17:55:57 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-06-27 16:01:30 +0400 |
commit | 38ced28b21efff18fd5e5c98a92830e8f0031cee (patch) | |
tree | e409eed80e257faa01acc1cdc05cb7c0e0be7cb2 /include/linux/edac.h | |
parent | 69154d069869b612383cef9d594f39b34ffba6dd (diff) | |
download | linux-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/edac.h')
-rw-r--r-- | include/linux/edac.h | 1 |
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 }; |