From 3e5c4fadb9943c7539364d0c8425db071a2020e4 Mon Sep 17 00:00:00 2001 From: Sergiu Iordache Date: Tue, 26 Jul 2011 16:08:59 -0700 Subject: 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 Acked-by: Marco Stornelli Cc: "Ahmed S. Darwish" Cc: Artem Bityutskiy Cc: Kyungmin Park Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/linux/ramoops.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 @@ struct ramoops_platform_data { unsigned long mem_size; unsigned long mem_address; + unsigned long record_size; int dump_oops; }; -- cgit v1.2.3