summaryrefslogtreecommitdiffstats
path: root/sys/i386/acpica
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-03-16 10:58:09 +0000
committerrwatson <rwatson@FreeBSD.org>2008-03-16 10:58:09 +0000
commit877d7c65ba9b74233df6c9197fc39c770e809d02 (patch)
tree6564575d1252cf3bc48428a52fcc596c284e459b /sys/i386/acpica
parente16eb855ef66b817fb04637d522ca52a5e5b5163 (diff)
downloadFreeBSD-src-877d7c65ba9b74233df6c9197fc39c770e809d02.zip
FreeBSD-src-877d7c65ba9b74233df6c9197fc39c770e809d02.tar.gz
In keeping with style(9)'s recommendations on macros, use a ';'
after each SYSINIT() macro invocation. This makes a number of lightweight C parsers much happier with the FreeBSD kernel source, including cflow's prcc and lxr. MFC after: 1 month Discussed with: imp, rink
Diffstat (limited to 'sys/i386/acpica')
-rw-r--r--sys/i386/acpica/acpi_wakeup.c2
-rw-r--r--sys/i386/acpica/madt.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/acpica/acpi_wakeup.c b/sys/i386/acpica/acpi_wakeup.c
index cc5803d..386ddb1 100644
--- a/sys/i386/acpica/acpi_wakeup.c
+++ b/sys/i386/acpica/acpi_wakeup.c
@@ -322,7 +322,7 @@ acpi_alloc_wakeup_handler(void)
acpi_wakeaddr = (vm_offset_t)wakeaddr;
}
-SYSINIT(acpiwakeup, SI_SUB_KMEM, SI_ORDER_ANY, acpi_alloc_wakeup_handler, 0)
+SYSINIT(acpiwakeup, SI_SUB_KMEM, SI_ORDER_ANY, acpi_alloc_wakeup_handler, 0);
static void
acpi_realmodeinst(void *arg, bus_dma_segment_t *segs, int nsegs, int error)
diff --git a/sys/i386/acpica/madt.c b/sys/i386/acpica/madt.c
index f00a3db..3e53cf0 100644
--- a/sys/i386/acpica/madt.c
+++ b/sys/i386/acpica/madt.c
@@ -408,7 +408,7 @@ madt_register(void *dummy __unused)
apic_register_enumerator(&madt_enumerator);
}
-SYSINIT(madt_register, SI_SUB_CPU - 1, SI_ORDER_SECOND, madt_register, NULL)
+SYSINIT(madt_register, SI_SUB_CPU - 1, SI_ORDER_SECOND, madt_register, NULL);
/*
* Call the handler routine for each entry in the MADT table.
@@ -778,4 +778,4 @@ madt_set_ids(void *dummy)
la->la_acpi_id);
}
}
-SYSINIT(madt_set_ids, SI_SUB_CPU, SI_ORDER_ANY, madt_set_ids, NULL)
+SYSINIT(madt_set_ids, SI_SUB_CPU, SI_ORDER_ANY, madt_set_ids, NULL);
OpenPOWER on IntegriCloud