diff options
author | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-05-17 00:15:34 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-17 08:51:59 -0700 |
commit | 39eb7e9791866973dbb7a3a6d2061d70356c7d90 (patch) | |
tree | bfd4e74f43031fa0ae05636c215a3a60a7f5ae23 /include/linux/pstore_ram.h | |
parent | 896fc1f0c4c6c19b270734f274be67cb0e8a24af (diff) |
pstore/ram: Add ECC support
This is now straightforward: just introduce a module parameter and pass
the needed value to persistent_ram_new().
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Acked-by: Marco Stornelli <marco.stornelli@gmail.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/pstore_ram.h')
-rw-r--r-- | include/linux/pstore_ram.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pstore_ram.h b/include/linux/pstore_ram.h index ffe24a52c5af..7ed7fd4dba49 100644 --- a/include/linux/pstore_ram.h +++ b/include/linux/pstore_ram.h @@ -92,6 +92,7 @@ struct ramoops_platform_data { unsigned long mem_address; unsigned long record_size; int dump_oops; + bool ecc; }; #endif |