ramoops: Move to fs/pstore/ram.c
authorAnton Vorontsov <anton.vorontsov@linaro.org>
Wed, 16 May 2012 12:43:08 +0000 (05:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 May 2012 15:06:37 +0000 (08:06 -0700)
commit1894a253db97059bc299b834b76f665bc6586b1d
tree791ad2d33cc1d28c32fa340b0a8f0c2a645c4b26
parentd109a674a3685d43f16da5cc4cb8b927d07c436d
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>
Documentation/ramoops.txt
drivers/char/Kconfig
drivers/char/Makefile
drivers/char/ramoops.c [deleted file]
fs/pstore/Kconfig
fs/pstore/Makefile
fs/pstore/ram.c [new file with mode: 0644]
include/linux/pstore_ram.h [new file with mode: 0644]
include/linux/ramoops.h [deleted file]