diff options
Diffstat (limited to 'bsps/powerpc/gen83xx/include/tm27.h')
-rw-r--r-- | bsps/powerpc/gen83xx/include/tm27.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bsps/powerpc/gen83xx/include/tm27.h b/bsps/powerpc/gen83xx/include/tm27.h index cb0c900066..95cca5fea2 100644 --- a/bsps/powerpc/gen83xx/include/tm27.h +++ b/bsps/powerpc/gen83xx/include/tm27.h @@ -7,7 +7,7 @@ */ /* - * Copyright (c) 2008 embedded brains GmbH. All rights reserved. + * Copyright (c) 2008 embedded brains GmbH & Co. KG * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -42,16 +42,16 @@ #define MUST_WAIT_FOR_INTERRUPT 1 -static void (*tm27_interrupt_handler)(rtems_vector_number); +static rtems_interrupt_handler tm27_interrupt_handler; static int tm27_exception_handler( BSP_Exception_frame *frame, unsigned number) { - (*tm27_interrupt_handler)( 0); + (*tm27_interrupt_handler)( NULL); return 0; } -static void Install_tm27_vector( void (*handler)(rtems_vector_number)) +static inline void Install_tm27_vector( rtems_interrupt_handler handler ) { int rv = 0; |