From d7a0dfd9391b99bc67b2050972cb97f23c3a348f Mon Sep 17 00:00:00 2001 From: NicJA Date: Wed, 22 Feb 2017 23:27:21 +0000 Subject: [PATCH] use pushfl/popfl with gcc to fix the 32bit build git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53856 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- arch/all-pc/kernel/acpi_pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/all-pc/kernel/acpi_pm.c b/arch/all-pc/kernel/acpi_pm.c index 386527a1c1..a7260d8576 100644 --- a/arch/all-pc/kernel/acpi_pm.c +++ b/arch/all-pc/kernel/acpi_pm.c @@ -218,7 +218,7 @@ void ACPI_HandleChangePMStateSC(struct ExceptionContext *regs) #if (__WORDSIZE==64) asm volatile ("pushfq; sti; hlt; popfq"); #else - asm volatile ("pushfd; sti; hlt; popfd"); + asm volatile ("pushfl; sti; hlt; popfl"); #endif #if defined(__AROSEXEC_SMP__) timeWake = RDTSC(); -- 2.11.4.GIT