aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ramoops.h
diff options
context:
space:
mode:
authorSergiu Iordache <sergiu@chromium.org>2011-07-26 19:08:59 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-26 19:49:46 -0400
commit3e5c4fadb9943c7539364d0c8425db071a2020e4 (patch)
tree34f1d5c4cbf2f330e9fd1210da6dabde3befa6bf /include/linux/ramoops.h
parent6b4d2a2733b9a17112f746d498c9f9a0427dcdd8 (diff)
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/linux/ramoops.h')
-rw-r--r--include/linux/ramoops.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ramoops.h b/include/linux/ramoops.h
index 7105c4b3a24e..484fef81cd3a 100644
--- a/include/linux/ramoops.h
+++ b/include/linux/ramoops.h
@@ -10,6 +10,7 @@
10struct ramoops_platform_data { 10struct ramoops_platform_data {
11 unsigned long mem_size; 11 unsigned long mem_size;
12 unsigned long mem_address; 12 unsigned long mem_address;
13 unsigned long record_size;
13 int dump_oops; 14 int dump_oops;
14}; 15};
15 16