|author||Anton Vorontsov <email@example.com>||2012-05-16 05:43:08 -0700|
|committer||Greg Kroah-Hartman <firstname.lastname@example.org>||2012-05-16 08:06:37 -0700|
ramoops: Move to fs/pstore/ram.c
Since ramoops was converted to pstore, it has nothing to do with character devices nowadays. Instead, today it is just a RAM backend for pstore. The patch just moves things around. There are a few changes were needed because of the move: 1. Kconfig and Makefiles fixups, of course. 2. In pstore/ram.c we have to play a bit with MODULE_PARAM_PREFIX, this is needed to keep user experience the same as with ramoops driver (i.e. so that ramoops.foo kernel command line arguments would still work). Signed-off-by: Anton Vorontsov <email@example.com> Acked-by: Marco Stornelli <firstname.lastname@example.org> Acked-by: Kees Cook <email@example.com> Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>
Diffstat (limited to 'fs/pstore/Kconfig')
1 files changed, 14 insertions, 0 deletions
diff --git a/fs/pstore/Kconfig b/fs/pstore/Kconfig
index 8007ae7c0d8..b75ee51b271 100644
@@ -11,3 +11,17 @@ config PSTORE
(e.g. ACPI_APEI on X86) which will select this for you.
If you don't have a platform persistent store driver,
+ tristate "Log panic/oops to a RAM buffer"
+ depends on HAS_IOMEM
+ depends on PSTORE
+ default n
+ This enables panic and oops messages to be logged to a circular
+ buffer in RAM where it can be read back at some later point.
+ Note that for historical reasons, the module will be named
+ For more information, see Documentation/ramoops.txt.