]> 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)
commiteaa5632676b4c4c244a42f3e3a327aaf2bbb6174
tree0e1784f5f1253c621cddfb1857e1753277569934
parentbae9feb760324fc3e1049c4817a80802543b9a4b
Revert "kdb: Get rid of confusing diag msg from "rd" if current task has no regs"

This reverts commit 27dbd0c0ae4fe51bed87dda674371e5e7bf1b121.

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