[PATCH v2 11/19] arm64: entry: move bad_mode() to entry-common.c
Joey Gouly
joey.gouly at arm.com
Fri May 21 09:46:15 PDT 2021
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 at arm.com>
More information about the linux-arm-kernel
mailing list