aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/acpi/acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/acpi/acpi.c')
-rw-r--r--src/kernel/acpi/acpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/acpi/acpi.c b/src/kernel/acpi/acpi.c
index 0122450..e6e5b91 100644
--- a/src/kernel/acpi/acpi.c
+++ b/src/kernel/acpi/acpi.c
@@ -178,7 +178,7 @@ int acpi_install()
void acpi_poweroff()
{
- asm ("cli");
+ cli();
if (SCI_EN == 0) {
warn("ACPI shutdown is not supported\n");
return;
@@ -197,7 +197,7 @@ void acpi_poweroff()
void reboot()
{
- asm ("cli");
+ cli();
uint8_t good = 0x02;
while (good & 0x02)
good = inb(0x64);