summaryrefslogtreecommitdiff
path: root/include/linux/pstore_ram.h
diff options
context:
space:
mode:
authorAnton Vorontsov <anton.vorontsov@linaro.org>2012-05-26 17:20:23 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-14 03:59:28 +0400
commitb5d38e9bf1b0c4db19e336b59b38dfb5d28bf1bf (patch)
tree4265e0a8df54cb1ffa196c1f98d9f789165e7970 /include/linux/pstore_ram.h
parent755d66b48fe5a1f2a07802fcc8704e8b9e775e7d (diff)
downloadlinux-b5d38e9bf1b0c4db19e336b59b38dfb5d28bf1bf.tar.xz
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/pstore_ram.h')
-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 {
unsigned long mem_size;
unsigned long mem_address;
unsigned long record_size;
+ unsigned long console_size;
int dump_oops;
bool ecc;
};