summaryrefslogtreecommitdiffstats
path: root/sys/i386/acpica/acpi_wakeup.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/acpica/acpi_wakeup.c')
-rw-r--r--sys/i386/acpica/acpi_wakeup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/acpica/acpi_wakeup.c b/sys/i386/acpica/acpi_wakeup.c
index 83e7c01..ae2bc09 100644
--- a/sys/i386/acpica/acpi_wakeup.c
+++ b/sys/i386/acpica/acpi_wakeup.c
@@ -81,7 +81,7 @@ static void acpi_alloc_wakeup_handler(void);
extern int acpi_savecpu(void);
extern int acpi_restorecpu(void);
-#ifdef __GNUC__
+#if defined(__GNUC__) || defined(__INTEL_COMPILER)
__asm__(" \n\
.text \n\
.p2align 2, 0x90 \n\
@@ -148,7 +148,7 @@ acpi_savecpu: \n\
movl $1,%eax \n\
ret \n\
");
-#endif /* __GNUC__ */
+#endif /* __GNUC__ || __INTEL_COMPILER */
static void
acpi_printcpu(void)
OpenPOWER on IntegriCloud