summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2005-11-30 01:22:48 +0000
committerTill Straumann <strauman@slac.stanford.edu>2005-11-30 01:22:48 +0000
commit2b3704442c7126f706cdf3e3efee246cdbbfc41d (patch)
tree34fc40372a7a301b2200aa7845f9c453eaa1fdf4 /c
parent - trivial correction in comment (diff)
downloadrtems-2b3704442c7126f706cdf3e3efee246cdbbfc41d.tar.bz2
2005-11-29 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq.c: Fixed incorrect removal of first shared interrupt in chain.
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/powerpc/ChangeLog4
-rw-r--r--c/src/lib/libbsp/powerpc/shared/irq/irq.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/ChangeLog b/c/src/lib/libbsp/powerpc/ChangeLog
index c33fc3b6f0..9b1b30bc95 100644
--- a/c/src/lib/libbsp/powerpc/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-29 Till Straumann <strauman@slac.stanford.edu>
+ * shared/irq/irq.c: Fixed incorrect removal of first shared
+ interrupt in chain.
+
2005-11-09 Ralf Corsepius <ralf.corsepius@rtems.org>
* shared/startup/bspstart.c: Eliminate obsolete types.
diff --git a/c/src/lib/libbsp/powerpc/shared/irq/irq.c b/c/src/lib/libbsp/powerpc/shared/irq/irq.c
index 40e8d848fa..be57fcb09f 100644
--- a/c/src/lib/libbsp/powerpc/shared/irq/irq.c
+++ b/c/src/lib/libbsp/powerpc/shared/irq/irq.c
@@ -275,6 +275,7 @@ int BSP_remove_rtems_irq_handler (const rtems_irq_connect_data* irq)
/* first handler isn't malloc'ed, so just overwrite it. Since
the contents of vchain are being struct copied, vchain itself
goes away */
+ vchain = vchain->next_handler;
rtems_hdl_tbl[irq->name]= *vchain;
}
free(vchain);