summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGedare Bloom <gedare@rtems.org>2020-09-12 09:11:28 -0600
committerGedare Bloom <gedare@rtems.org>2020-09-12 09:11:28 -0600
commit9f096f47243ab19db617ec990188dbef71166e41 (patch)
tree4895f0506e2bdd442bbdc49fd8c120c665ec8467
parent5959b1e34c6ebd47cc75f4589091a39cdf7a6a57 (diff)
downloadrtems-9f096f47243ab19db617ec990188dbef71166e41.tar.bz2
i386/score: fix assembly mnemonic
Closes #4076.
-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