]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "kdb: Get rid of confusing diag msg from "rd" if current task has no regs"
authorDaniel Thompson <daniel.thompson@linaro.org>
Thu, 6 Feb 2020 11:40:09 +0000 (11:40 +0000)
committerDaniel Thompson <daniel.thompson@linaro.org>
Thu, 6 Feb 2020 11:40:09 +0000 (11:40 +0000)
commit59506fbb22456e9e11c2f51a730116f86f87e8a3
tree0e1784f5f1253c621cddfb1857e1753277569934
parent823022d6086266f651ee51303329a97d8065b457
Revert "kdb: Get rid of confusing diag msg from "rd" if current task has no regs"

This reverts commit cc67b6f6ebb007000a6f7f6c65aed1d3284c720e.

When DBG_MAX_REG_NUM is zero then a number of symbols are conditionally
defined. It is therefore not possible to check it using C expressions.

Reported-by: Anatoly Pugachev <matorola@gmail.com>
Acked-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
kernel/debug/kdb/kdb_main.c