diff --git a/include/zephyr/sys/arch_interface.h b/include/zephyr/sys/arch_interface.h index 75183a78a6ed48..e173297ccb805e 100644 --- a/include/zephyr/sys/arch_interface.h +++ b/include/zephyr/sys/arch_interface.h @@ -309,6 +309,16 @@ void arch_irq_enable(unsigned int irq); */ int arch_irq_is_enabled(unsigned int irq); +/** + * Set IRQ number priority + * + * @param irq IRQ line number + * @param prio Interrupt priority + * @param flags Arch-specific IRQ configuration flag + * + */ +void arch_irq_priority_set(unsigned int irq, unsigned int prio, uint32_t flags); + /** * Arch-specific hook to install a dynamic interrupt. * @@ -342,17 +352,6 @@ int arch_irq_disconnect_dynamic(unsigned int irq, unsigned int priority, void (*routine)(const void *parameter), const void *parameter, uint32_t flags); - -/** - * Set IRQ number priority - * - * @param irq IRQ line number - * @param prio Interrupt priority - * @param flags Arch-specific IRQ configuration flag - * - */ -void arch_irq_priority_set(unsigned int irq, unsigned int prio, uint32_t flags); - /** * @def ARCH_IRQ_CONNECT(irq, pri, isr, arg, flags) *