staging: android: persistent_ram: Move to fs/pstore/ram_core.c
authorAnton Vorontsov <anton.vorontsov@linaro.org>
Thu, 17 May 2012 07:15:08 +0000 (00:15 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 May 2012 15:50:00 +0000 (08:50 -0700)
commitcddb8751c80348df75149f44fc3bf38d3dd1f3e6
tree1c4a3ccbd99179b489c53dd6a7dfd7aa72cc0bab
parent357fcff5bd8510fd7747d776d3dcedde6b801d3e
staging: android: persistent_ram: Move to fs/pstore/ram_core.c

This is a first step for adding ECC support for pstore RAM backend: we
will use the persistent_ram routines, kindly provided by Google.

Basically, persistent_ram is a set of helper routines to deal with the
[optionally] ECC-protected persistent ram regions.

A bit of Makefile, Kconfig and header files adjustments were needed
because of the move.

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/Kconfig
drivers/staging/android/Makefile
drivers/staging/android/persistent_ram.h [deleted file]
drivers/staging/android/ram_console.c
fs/pstore/Kconfig
fs/pstore/Makefile
fs/pstore/ram_core.c [moved from drivers/staging/android/persistent_ram.c with 99% similarity]
include/linux/pstore_ram.h