]> git.baikalelectronics.ru Git - kernel.git/commit
kdb: Fix off by one error in kdb_cpu()
authorJason Wessel <jason.wessel@windriver.com>
Thu, 8 Jan 2015 21:46:55 +0000 (15:46 -0600)
committerJason Wessel <jason.wessel@windriver.com>
Thu, 19 Feb 2015 18:39:02 +0000 (12:39 -0600)
commit83c672b85a1b3d0c05e1431edd17aaf1e7fd0703
treec1b944a4cbbe24ec31103ee2e229a17c561293ce
parent2f150f6020d4a3c588c540f95dd139b462334cda
kdb: Fix off by one error in kdb_cpu()

There was a follow on replacement patch against the prior
"kgdb: Timeout if secondary CPUs ignore the roundup".

See: https://lkml.org/lkml/2015/1/7/442

This patch is the delta vs the patch that was committed upstream:
  * Fix an off-by-one error in kdb_cpu().
  * Replace NR_CPUS with CONFIG_NR_CPUS to tell checkpatch that we
    really want a static limit.
  * Removed the "KGDB: " prefix from the pr_crit() in debug_core.c
    (kgdb-next contains a patch which introduced pr_fmt() to this file
    to the tag will now be applied automatically).

Cc: Daniel Thompson <daniel.thompson@linaro.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
kernel/debug/debug_core.c
kernel/debug/kdb/kdb_main.c