]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
pstore/ram: Make ECC size configurable
authorAnton Vorontsov <anton.vorontsov@linaro.org>
Tue, 10 Jul 2012 00:03:19 +0000 (17:03 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2012 16:46:52 +0000 (09:46 -0700)
commit5ca5d4e61d0cac15f36160ab48425c6e43bf2e2f
tree7e35f66cc7863798f32e96fb2062b6006352dc04
parent4a53ffae6afc94bab803087245b3b45e712c21c8
pstore/ram: Make ECC size configurable

This is now pretty straightforward: instead of using bool, just pass
an integer. For backwards compatibility ramoops.ecc=1 means 16 bytes
ECC (using 1 byte for ECC isn't much of use anyway).

Suggested-by: Arve Hjønnevåg <arve@android.com>
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>
fs/pstore/ram.c
fs/pstore/ram_core.c
include/linux/pstore_ram.h