arm64: Treat handle_arch_irq as a function pointer
handle_arch_irq isn't actually text, it's just a function pointer. It doesn't need to be stored in the text section and doing so causes problesm if we ever want to make the kernel text read only. Declare handle_arch_irq as a proper function pointer stored in the data section. Change-Id: I336aa1426c0e1c0ae64d1903c03e5ef492ac2fea Reviewed-by:Kees Cook <keescook@chromium.org> Reviewed-by:
Mark Rutland <mark.rutland@arm.com> Acked-by:
Ard Biesheuvel <ard.biesheuvel@linaro.org> Tested-by:
Mark Rutland <mark.rutland@arm.com> Tested-by:
Kees Cook <keescook@chromium.org> Signed-off-by:
Laura Abbott <lauraa@codeaurora.org> Signed-off-by:
Will Deacon <will.deacon@arm.com> Git-commit: fcff588633e848aa728a4437ef96d437299ba03d Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git [hanumant@codeaurora.org: Resolve minor merge conflicts] Signed-off-by:
Hanumant Singh <hanumant@codeaurora.org>
Loading
Please register or sign in to comment