drivers: apanic: Android kernel panic handler.
authorSan Mehat <san@google.com>
Tue, 1 Sep 2009 20:43:01 +0000 (13:43 -0700)
committerBo Yan <byan@nvidia.com>
Tue, 26 Jun 2012 22:35:11 +0000 (15:35 -0700)
commita3c145c73331dc89a6108942aed5a2964bbbc693
tree5c783e8a6cd489a07a3af2dd22b0ca65ab24260a
parent1b5fe8980209d3cc7f974222843d091bd60cf57e
drivers: apanic: Android kernel panic handler.

This driver triggers when the kernel panics and attempts to
write critical debug data to the flash.

Signed-off-by: San Mehat <san@google.com>

drivers: apanic: checkpatch fixes

Signed-off-by: San Mehat <san@google.com>

apanic: Fix a few cases of calling non-atomic things from atomic

We need to pay special care to not enrage cond_resched(), and the
base nand bb stuff calls schedule() so thats out.

Change-Id: I2f57b5666b3e575bf88bec4b8bbd1da1b4701a13
Signed-off-by: San Mehat <san@google.com>
Reviewed-on: http://git-master/r/111036
Reviewed-by: Prashant Malani <pmalani@nvidia.com>
Tested-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/apanic.c [new file with mode: 0644]