From 40f23ceae6026433154dda9591f101ffa8a1e747 Mon Sep 17 00:00:00 2001 From: Gedare Bloom Date: Fri, 2 Oct 2020 10:38:49 -0600 Subject: 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. --- cpukit/score/cpu/i386/include/rtems/asm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3