diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-06-07 11:50:37 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-06-07 17:06:43 +0200 |
commit | 18e2fbe70dea41ab5948d80cc7eb0acb8a5b693c (patch) | |
tree | c974bb27e9706d813a63c98f12cfaee723c64b14 | |
parent | smp: Set state PER_CPU_STATE_UP on main processor (diff) | |
download | rtems-18e2fbe70dea41ab5948d80cc7eb0acb8a5b693c.tar.bz2 |
smp: Fix PowerPC context switch
-rw-r--r-- | c/src/lib/libcpu/powerpc/new-exceptions/cpu_asm.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/powerpc/new-exceptions/cpu_asm.S b/c/src/lib/libcpu/powerpc/new-exceptions/cpu_asm.S index 04fb8b163c..0a96c32ef1 100644 --- a/c/src/lib/libcpu/powerpc/new-exceptions/cpu_asm.S +++ b/c/src/lib/libcpu/powerpc/new-exceptions/cpu_asm.S @@ -267,7 +267,7 @@ PROC (_CPU_Context_switch): mfmsr r5 mflr r6 mfcr r7 -#ifdef RTEMS_MULTIPROCESSING +#if defined(RTEMS_MULTIPROCESSING) || defined(RTEMS_SMP) /* * We have to clear the reservation of the executing thread. See also * Book E section 6.1.6.2 "Atomic Update Primitives". |