aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAnton Vorontsov <anton.vorontsov@linaro.org>2012-05-26 09:20:23 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-13 19:59:28 -0400
commitb5d38e9bf1b0c4db19e336b59b38dfb5d28bf1bf (patch)
tree4265e0a8df54cb1ffa196c1f98d9f789165e7970 /include/linux
parent755d66b48fe5a1f2a07802fcc8704e8b9e775e7d (diff)
pstore/ram: Add console messages handling
The console log size is configurable via ramoops.console_size module option, and the log itself is available via <pstore-mount>/console-ramoops file. Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
-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 3b823d49a85a..9385d41cb1c3 100644
--- a/include/linux/pstore_ram.h
+++ b/include/linux/pstore_ram.h
@@ -93,6 +93,7 @@ struct ramoops_platform_data {
93 unsigned long mem_size; 93 unsigned long mem_size;
94 unsigned long mem_address; 94 unsigned long mem_address;
95 unsigned long record_size; 95 unsigned long record_size;
96 unsigned long console_size;
96 int dump_oops; 97 int dump_oops;
97 bool ecc; 98 bool ecc;
98}; 99};