summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libcpu/powerpc/new-exceptions/cpu_asm.S2
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".