summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/nested_irq_test.c
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2007-12-11 05:21:12 +0000
committerTill Straumann <strauman@slac.stanford.edu>2007-12-11 05:21:12 +0000
commitbbb50590b2eea941d95a60fa39b2b337e8c8ffd8 (patch)
treee07ed31cd7e9140eae5a4d2428e77f1b1a3b21c8 /c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/nested_irq_test.c
parent2007-12-10 Till Straumann <strauman@slac.stanford.edu> (diff)
downloadrtems-bbb50590b2eea941d95a60fa39b2b337e8c8ffd8.tar.bz2
2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/nested_irq_test.c: adjusted wrong irq name/number calculation.
Diffstat (limited to 'c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/nested_irq_test.c')
-rw-r--r--c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/nested_irq_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/nested_irq_test.c b/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/nested_irq_test.c
index 999563d12a..45ec497bdc 100644
--- a/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/nested_irq_test.c
+++ b/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/nested_irq_test.c
@@ -99,7 +99,7 @@ rtems_irq_connect_data xx;
}
if ( inst ) {
openpic_maptimer( t, 1 );
- openpic_inittimer( t, 8 + t, OPENPIC_VEC_SOURCE + xx.name );
+ openpic_inittimer( t, 8 + t, OPENPIC_VEC_SOURCE - BSP_PCI_IRQ_LOWEST_OFFSET + xx.name );
openpic_settimer( t, period, 1 );
}
return 0;