[COMMON] panic: NOT allowed re-entrance by same cpu
authorHosung Kim <hosung0.kim@samsung.com>
Thu, 21 Sep 2017 04:45:41 +0000 (13:45 +0900)
committerDonghyeok Choe <d7271.choe@samsung.com>
Tue, 15 May 2018 04:36:37 +0000 (13:36 +0900)
commitc401643a23082829963c1f6a8057bca37ba60175
treee1d9b1d40b3fa4c9e1e83be12ee7e4956bb711e5
parentdd101ca5b92663c600647406cd69b7269a8605de
[COMMON] panic: NOT allowed re-entrance by same cpu

if panic and then panic again on the same cpu, it is allowed
re-entrance. In that situation, it is likely to happen panic
again again. So this patch don't allow re-entrace of same cpu
to prevent that situation.

Change-Id: I766f4f72b589be675747f66bb2ec732c07f60b81
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
kernel/panic.c