From 61baaccef1cd580627f63902ad1ee752fcedb323 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 11 Jun 2012 12:27:31 -0500 Subject: [PATCH] isr.c: Do not call _CPU_Initialize_vectors() if PIC Interrupt Model --- cpukit/score/src/isr.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/cpukit/score/src/isr.c b/cpukit/score/src/isr.c index 5862781ed6..2306f787ab 100644 --- a/cpukit/score/src/isr.c +++ b/cpukit/score/src/isr.c @@ -1,8 +1,11 @@ +/** + * @file + * + * ISR Handler Initialization + */ + /* - * ISR Handler - * - * - * COPYRIGHT (c) 1989-2008. + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -38,9 +41,9 @@ void _ISR_Handler_initialization( void ) _ISR_Vector_table = _Workspace_Allocate_or_fatal_error( sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS ); -#endif _CPU_Initialize_vectors(); +#endif #if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE )