arch: arm: aarch32: rename z_arm_int_lib_init() function

We rename the z_arm_int_lib_init() function to
z_arm_interrupt_init(), aligning to how other
ARCHes name their IRQ initialization function.
There is nothing about 'library' in this
functionality, so we remove the 'lib' in-fix.

The commit does not introduce any behavior changes.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
Ioannis Glaropoulos 2020-03-12 13:41:59 +01:00 committed by Andrew Boie
commit d9a6e1d0c0
3 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@
* @return N/A
*/
void z_arm_int_lib_init(void)
void z_arm_interrupt_init(void)
{
int irq = 0;

View file

@ -180,7 +180,7 @@ void z_arm_prep_c(void)
#if defined(CONFIG_ARMV7_R) && defined(CONFIG_INIT_STACKS)
z_arm_init_stacks();
#endif
z_arm_int_lib_init();
z_arm_interrupt_init();
z_cstart();
CODE_UNREACHABLE;
}

View file

@ -36,11 +36,11 @@ extern int arch_irq_is_enabled(unsigned int irq);
extern void z_arm_int_exit(void);
#if defined(CONFIG_ARMV7_R)
static ALWAYS_INLINE void z_arm_int_lib_init(void)
static ALWAYS_INLINE void z_arm_interrupt_init(void)
{
}
#else
extern void z_arm_int_lib_init(void);
extern void z_arm_interrupt_init(void);
#endif
/* macros convert value of it's argument to a string */