From 6e11789cea3e65f26baf00a60b1bc6afd6f33dea Mon Sep 17 00:00:00 2001 From: sigsegv7 Date: Wed, 4 Oct 2023 15:04:03 -0400 Subject: kernel/amd64: Move metadata macros to top Signed-off-by: sigsegv7 --- sys/arch/amd64/lapic.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/sys/arch/amd64/lapic.c b/sys/arch/amd64/lapic.c index 0c4e238..792cfa3 100644 --- a/sys/arch/amd64/lapic.c +++ b/sys/arch/amd64/lapic.c @@ -39,6 +39,10 @@ #include #include +__MODULE_NAME("lapic"); +__KERNEL_META("$Vega$: lapic.c, Ian Marco Moffett, " + "Local APIC driver"); + /* * Only calls KINFO if we are the BSP. */ @@ -51,11 +55,6 @@ } \ } while (0); -__MODULE_NAME("lapic"); -__KERNEL_META("$Vega$: lapic.c, Ian Marco Moffett, " - "Local APIC driver"); - - static void *lapic_base = NULL; static struct timer lapic_timer = { 0 }; -- cgit v1.2.3