]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ramoops: make record_size a module parameter
authorSergiu Iordache <sergiu@chromium.org>
Tue, 26 Jul 2011 23:08:59 +0000 (16:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 23:49:46 +0000 (16:49 -0700)
commit3e5c4fadb9943c7539364d0c8425db071a2020e4
tree34f1d5c4cbf2f330e9fd1210da6dabde3befa6bf
parent6b4d2a2733b9a17112f746d498c9f9a0427dcdd8
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>
drivers/char/ramoops.c
include/linux/ramoops.h