summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAnton Vorontsov <anton.vorontsov@linaro.org>2012-05-17 09:15:34 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-17 17:51:59 +0200
commit39eb7e9791866973dbb7a3a6d2061d70356c7d90 (patch)
treebfd4e74f43031fa0ae05636c215a3a60a7f5ae23 /include
parentpstore/ram: Switch to persistent_ram routines (diff)
downloadlinux-39eb7e9791866973dbb7a3a6d2061d70356c7d90.tar.xz
linux-39eb7e9791866973dbb7a3a6d2061d70356c7d90.zip
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')
-rw-r--r--include/linux/pstore_ram.h1
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