summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAnton Vorontsov <anton.vorontsov@linaro.org>2012-05-16 12:43:08 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-16 15:06:37 (GMT)
commit1894a253db97059bc299b834b76f665bc6586b1d (patch)
tree791ad2d33cc1d28c32fa340b0a8f0c2a645c4b26 /include/linux
parentd109a674a3685d43f16da5cc4cb8b927d07c436d (diff)
downloadlinux-fsl-qoriq-1894a253db97059bc299b834b76f665bc6586b1d.tar.xz
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 'include/linux')
-rw-r--r--include/linux/pstore_ram.h (renamed from include/linux/ramoops.h)4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ramoops.h b/include/linux/pstore_ram.h
index 484fef8..fa4cb02 100644
--- a/include/linux/ramoops.h
+++ b/include/linux/pstore_ram.h
@@ -1,5 +1,5 @@
-#ifndef __RAMOOPS_H
-#define __RAMOOPS_H
+#ifndef __LINUX_PSTORE_RAM_H__
+#define __LINUX_PSTORE_RAM_H__
/*
* Ramoops platform data