Home
last modified time | relevance | path

Searched hist:d08e12e8 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/xtensa/kernel/
H A Dsmp.cd08e12e8 Tue Feb 14 01:05:53 CST 2023 Josh Poimboeuf <jpoimboe@kernel.org> xtensa/cpu: Make sure cpu_die() doesn't return

cpu_die() doesn't return. Make that more explicit with a BUG().

BUG() is preferable to unreachable() because BUG() is a more explicit
failure mode and avoids undefined behavior like falling off the edge of
the function into whatever code happens to be next.

Link: https://lore.kernel.org/r/cca346b5c87693499e630291d78fb0bf12c24290.1676358308.git.jpoimboe@kernel.org
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>