fixed null pointer dereference

This commit is contained in:
Joel Sherrill
1995-10-06 20:49:51 +00:00
parent eb5a7e07df
commit 591d45e7d5
2 changed files with 4 additions and 4 deletions

View File

@@ -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
);
}

View File

@@ -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
);
}