diff options
author | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-05-16 08:43:08 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-16 11:06:37 -0400 |
commit | 1894a253db97059bc299b834b76f665bc6586b1d (patch) | |
tree | 791ad2d33cc1d28c32fa340b0a8f0c2a645c4b26 /fs/pstore/Kconfig | |
parent | d109a674a3685d43f16da5cc4cb8b927d07c436d (diff) |
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 <anton.vorontsov@linaro.org>
Acked-by: Marco Stornelli <marco.stornelli@gmail.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/pstore/Kconfig')
-rw-r--r-- | fs/pstore/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/fs/pstore/Kconfig b/fs/pstore/Kconfig index 8007ae7c0d8c..b75ee51b2714 100644 --- a/fs/pstore/Kconfig +++ b/fs/pstore/Kconfig | |||
@@ -11,3 +11,17 @@ config PSTORE | |||
11 | (e.g. ACPI_APEI on X86) which will select this for you. | 11 | (e.g. ACPI_APEI on X86) which will select this for you. |
12 | If you don't have a platform persistent store driver, | 12 | If you don't have a platform persistent store driver, |
13 | say N. | 13 | say N. |
14 | |||
15 | config PSTORE_RAM | ||
16 | tristate "Log panic/oops to a RAM buffer" | ||
17 | depends on HAS_IOMEM | ||
18 | depends on PSTORE | ||
19 | default n | ||
20 | help | ||
21 | This enables panic and oops messages to be logged to a circular | ||
22 | buffer in RAM where it can be read back at some later point. | ||
23 | |||
24 | Note that for historical reasons, the module will be named | ||
25 | "ramoops.ko". | ||
26 | |||
27 | For more information, see Documentation/ramoops.txt. | ||