summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSergiu Iordache <sergiu@chromium.org>2011-07-26 16:08:58 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-26 16:49:45 -0700
commit6b4d2a2733b9a17112f746d498c9f9a0427dcdd8 (patch)
treec0c637da5ede8828728bad87fba41e7ca7f11ca1 /include/linux
parent0169256e4bbf29e507cdd1df5812c093d610f1d5 (diff)
ramoops: move dump_oops into platform data
The platform driver currently allows setting the mem_size and mem_address. ince dump_oops is also a module parameter it would be more consistent if it could be set through platform data as well. 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')
-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 0ae68a2c121..7105c4b3a24 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;
+ int dump_oops;
};
#endif