summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGedare Bloom <gedare@rtems.org>2020-10-02 10:38:49 -0600
committerGedare Bloom <gedare@rtems.org>2020-10-02 10:38:49 -0600
commit40f23ceae6026433154dda9591f101ffa8a1e747 (patch)
tree5cd1942c23a3ea6a4533ea897f48232e02376d6c
parentrtems-bsps: add ability to print architecture/bsp list (diff)
downloadrtems-40f23ceae6026433154dda9591f101ffa8a1e747.tar.bz2
i386/score: fix assembly mnemonic
This is a backport for assembler error observed in 6. Although the assembler error does not appear in 5, the backport was requested. Closes #4083.
-rw-r--r--cpukit/score/cpu/i386/include/rtems/asm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/cpu/i386/include/rtems/asm.h b/cpukit/score/cpu/i386/include/rtems/asm.h
index 5856f724de..904dc53846 100644
--- a/cpukit/score/cpu/i386/include/rtems/asm.h
+++ b/cpukit/score/cpu/i386/include/rtems/asm.h
@@ -154,7 +154,7 @@
movl imps_lapic_addr,\REG
movl LAPIC_ID(\REG),\REG
shrl $LAPIC_ID_SHIFT,\REG /* LAPIC_ID in REG */
- movb imps_apic_cpu_map(\REG),\REG /* CPU ID in REG */
+ movzbl imps_apic_cpu_map(\REG),\REG /* CPU ID in REG */
.endm
.macro GET_SELF_CPU_CONTROL REG