powerpc/ss555: Correct prototype of Clock_isr

The argument is now a void * and this was not reflected in the
prototype or implementation. The argument was unused so this
has no functional impact.
This commit is contained in:
Joel Sherrill
2025-02-14 10:07:23 -06:00
committed by Gedare Bloom
parent 9e05cd72c5
commit 9fea354de8
2 changed files with 4 additions and 2 deletions

View File

@@ -608,7 +608,7 @@ extern volatile imb_t imb; /* defined in linkcmds */
void clockOn(void* unused); void clockOn(void* unused);
void clockOff(void* unused); void clockOff(void* unused);
int clockIsOn(void* unused); int clockIsOn(void* unused);
rtems_isr Clock_isr(rtems_vector_number vector); rtems_isr Clock_isr(void *unused);
#ifdef __cplusplus #ifdef __cplusplus
} }

View File

@@ -55,8 +55,10 @@ extern uint32_t bsp_clicks_per_usec;
/* /*
* ISR Handler * ISR Handler
*/ */
rtems_isr Clock_isr(rtems_vector_number vector) rtems_isr Clock_isr(void *unused)
{ {
(void) unused;
usiu.piscrk = USIU_UNLOCK_KEY; usiu.piscrk = USIU_UNLOCK_KEY;
usiu.piscr |= USIU_PISCR_PS; /* acknowledge interrupt */ usiu.piscr |= USIU_PISCR_PS; /* acknowledge interrupt */
usiu.piscrk = 0; usiu.piscrk = 0;