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