Thread (40 messages) 40 messages, 2 authors, 2021-05-25

Re: [PATCH v2 11/19] arm64: entry: move bad_mode() to entry-common.c

From: Joey Gouly <joey.gouly@arm.com>
Date: 2021-05-21 16:48:18

On Wed, May 19, 2021 at 01:38:54PM +0100, Mark Rutland wrote:
In subsequent patches we'll rework the way bad_mode is called by
exception entry code. In preparation for this, let's move bad_mode()
itself into entry-common.c.

Let's also mark it as noinstr (e.g. to prevent it being kprobed), and
let's also make the `handler` array a local variable, as this is only
use by bad_mode(), and will be removed entirely in a subsequent patch.

There should be no functional change as a result of this patch.
Reviewed-by: Joey Gouly <joey.gouly@arm.com>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help