summaryrefslogtreecommitdiffstats
path: root/include/linux/ramoops.h
diff options
context:
space:
mode:
authorSergiu Iordache <sergiu@chromium.org>2011-07-26 16:08:59 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-26 16:49:46 -0700
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 7105c4b3a24..484fef81cd3 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;
};