aboutsummaryrefslogtreecommitdiffstats
path: root/include
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
parentramoops: move dump_oops into platform data (diff)
downloadlinux-dev-3e5c4fadb9943c7539364d0c8425db071a2020e4.tar.xz
linux-dev-3e5c4fadb9943c7539364d0c8425db071a2020e4.zip
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.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 @@
struct ramoops_platform_data {
unsigned long mem_size;
unsigned long mem_address;
+ unsigned long record_size;
int dump_oops;
};