CHROMIUM: ramoops: use pstore interface
authorKees Cook <keescook@chromium.org>
Mon, 9 Apr 2012 19:41:30 +0000 (19:41 +0000)
committerOlof Johansson <olof@lixom.net>
Fri, 1 Jun 2012 06:53:46 +0000 (23:53 -0700)
commit8000e90a5a486221a946031b900267d329fb88f7
treeaeeaa0b6ae8631f50675f6d1d553623eb47b8657
parent44e16da49a9134af6583e11b839c79bd86f65857
CHROMIUM: ramoops: use pstore interface

Instead of using /dev/mem directly, use the common pstore infrastructure
to handle Oops gathering and extraction.

BUG=chromium-os:12059
TEST=x86-alex build and boot, manually verified /dev/pstore/dmesg-ramoops-N
    showing breakme crash reports.

Change-Id: Ice47506c005d56d24efa23d24bce1dbac0fbd571
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/11617
drivers/char/Kconfig
drivers/char/ramoops.c