From 591d45e7d5059dd7bd88aa5616a3ea3d3ce1ee2c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 6 Oct 1995 20:49:51 +0000 Subject: fixed null pointer dereference --- c/src/exec/score/cpu/hppa1.1/cpu.c | 4 ++-- cpukit/score/cpu/hppa1.1/cpu.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/c/src/exec/score/cpu/hppa1.1/cpu.c b/c/src/exec/score/cpu/hppa1.1/cpu.c index 4cef979367..3aa73e073c 100644 --- a/c/src/exec/score/cpu/hppa1.1/cpu.c +++ b/c/src/exec/score/cpu/hppa1.1/cpu.c @@ -207,7 +207,7 @@ void _CPU_ISR_install_vector( void hppa_external_interrupt_initialize(void) { - hppa_rtems_isr_entry ignore = 0; + proc_ptr ignore; /* mark them all unused */ @@ -218,7 +218,7 @@ hppa_external_interrupt_initialize(void) _CPU_ISR_install_vector( HPPA_INTERRUPT_EXTERNAL_INTERRUPT, (proc_ptr)hppa_external_interrupt, - (proc_ptr *)ignore + &ignore ); } diff --git a/cpukit/score/cpu/hppa1.1/cpu.c b/cpukit/score/cpu/hppa1.1/cpu.c index 4cef979367..3aa73e073c 100644 --- a/cpukit/score/cpu/hppa1.1/cpu.c +++ b/cpukit/score/cpu/hppa1.1/cpu.c @@ -207,7 +207,7 @@ void _CPU_ISR_install_vector( void hppa_external_interrupt_initialize(void) { - hppa_rtems_isr_entry ignore = 0; + proc_ptr ignore; /* mark them all unused */ @@ -218,7 +218,7 @@ hppa_external_interrupt_initialize(void) _CPU_ISR_install_vector( HPPA_INTERRUPT_EXTERNAL_INTERRUPT, (proc_ptr)hppa_external_interrupt, - (proc_ptr *)ignore + &ignore ); } -- cgit v1.2.3