diff options
author | Sergiu Iordache <sergiu@chromium.org> | 2011-07-26 23:08:59 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-26 23:49:46 (GMT) |
commit | 3e5c4fadb9943c7539364d0c8425db071a2020e4 (patch) | |
tree | 34f1d5c4cbf2f330e9fd1210da6dabde3befa6bf /include | |
parent | 6b4d2a2733b9a17112f746d498c9f9a0427dcdd8 (diff) | |
download | linux-3e5c4fadb9943c7539364d0c8425db071a2020e4.tar.xz |
ramoops: make record_size a module parameter
The size of the dump is currently set using the RECORD_SIZE macro which
is set to a page size. This patch makes the record size a module
parameter and allows it to be set through platform data as well to allow
larger dumps if needed.
Signed-off-by: Sergiu Iordache <sergiu@chromium.org>
Acked-by: Marco Stornelli <marco.stornelli@gmail.com>
Cc: "Ahmed S. Darwish" <darwish.07@gmail.com>
Cc: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ramoops.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ramoops.h b/include/linux/ramoops.h index 7105c4b..484fef8 100644 --- a/include/linux/ramoops.h +++ b/include/linux/ramoops.h @@ -10,6 +10,7 @@ struct ramoops_platform_data { unsigned long mem_size; unsigned long mem_address; + unsigned long record_size; int dump_oops; }; |