summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnton Vorontsov <anton.vorontsov@linaro.org>2012-05-26 06:20:23 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-13 16:59:28 -0700
commitb5d38e9bf1b0c4db19e336b59b38dfb5d28bf1bf (patch)
tree4265e0a8df54cb1ffa196c1f98d9f789165e7970 /include
parent755d66b48fe5a1f2a07802fcc8704e8b9e775e7d (diff)
downloadlinux-3.10-b5d38e9bf1b0c4db19e336b59b38dfb5d28bf1bf.tar.gz
linux-3.10-b5d38e9bf1b0c4db19e336b59b38dfb5d28bf1bf.tar.bz2
linux-3.10-b5d38e9bf1b0c4db19e336b59b38dfb5d28bf1bf.zip
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')
-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 3b823d49a85..9385d41cb1c 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;
};