diff options
author | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-05-26 06:20:23 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-13 16:59:28 -0700 |
commit | b5d38e9bf1b0c4db19e336b59b38dfb5d28bf1bf (patch) | |
tree | 4265e0a8df54cb1ffa196c1f98d9f789165e7970 /include/linux/pstore_ram.h | |
parent | 755d66b48fe5a1f2a07802fcc8704e8b9e775e7d (diff) | |
download | linux-next-b5d38e9bf1b0c4db19e336b59b38dfb5d28bf1bf.tar.gz |
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.h | 1 |
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; }; |