aboutsummaryrefslogtreecommitdiffstats
path: root/fs/pstore/Makefile
diff options
context:
space:
mode:
authorAnton Vorontsov <anton.vorontsov@linaro.org>2012-05-16 05:43:08 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-16 08:06:37 -0700
commit1894a253db97059bc299b834b76f665bc6586b1d (patch)
tree791ad2d33cc1d28c32fa340b0a8f0c2a645c4b26 /fs/pstore/Makefile
parentramoops: fix printk format warnings (diff)
downloadlinux-dev-1894a253db97059bc299b834b76f665bc6586b1d.tar.xz
linux-dev-1894a253db97059bc299b834b76f665bc6586b1d.zip
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/Makefile')
-rw-r--r--fs/pstore/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/pstore/Makefile b/fs/pstore/Makefile
index 760f4bce7d1d..2ab3d0d55ef6 100644
--- a/fs/pstore/Makefile
+++ b/fs/pstore/Makefile
@@ -5,3 +5,6 @@
obj-y += pstore.o
pstore-objs += inode.o platform.o
+
+ramoops-objs += ram.o
+obj-$(CONFIG_PSTORE_RAM) += ramoops.o