summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-06-26 10:25:42 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-06-26 10:31:43 +0200
commit56435e646cb90da25f3371568db2ec7be50e9a01 (patch)
treebce51915a788050858af1fd2ca08ca285b9dadc1 /c
parentbsps/arm: Fix set exception handler for ARMv7 (diff)
downloadrtems-56435e646cb90da25f3371568db2ec7be50e9a01.tar.bz2
powerpc: Fix Altivec support
Use the right context.
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libcpu/powerpc/new-exceptions/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/powerpc/new-exceptions/cpu.c b/c/src/lib/libcpu/powerpc/new-exceptions/cpu.c
index 7ce7e2f5c7..120ee07c9d 100644
--- a/c/src/lib/libcpu/powerpc/new-exceptions/cpu.c
+++ b/c/src/lib/libcpu/powerpc/new-exceptions/cpu.c
@@ -129,6 +129,6 @@ void _CPU_Context_Initialize(
the_ppc_context->lr = (uint32_t) entry_point;
#ifdef __ALTIVEC__
- _CPU_Context_initialize_altivec(the_context);
+ _CPU_Context_initialize_altivec( the_ppc_context );
#endif
}