Re: [PATCH v3 3/5] arm: Convert to GENERIC_IRQ_MULTI_HANDLER

From: Palmer Dabbelt
Date: Wed Mar 14 2018 - 13:28:18 EST


On Wed, 14 Mar 2018 10:07:35 PDT (-0700), tglx@xxxxxxxxxxxxx wrote:
On Wed, 7 Mar 2018, Palmer Dabbelt wrote:

This converts the ARM port to use the recently added
GENERIC_IRQ_MULTI_HANDLER, which is essentially just a copy of ARM's
existhing MULTI_IRQ_HANDLER. The only changes are:

* handle_arch_irq is now defined in a generic C file instead of an
arm-specific assembly file.
* handle_arch_irq is not marked as __ro_after_init.

Why? What prevents the generic implementation from doing so?

Sorry, I guess that should have said "handle_arch_irq was not marked as
__ro_after_init". The patch set has __ro_after_init for the generic
implementation, which was not the case for the arm version.