From de3d23948b337ffa4ea3e1a64bcaa2f0d58cffae Mon Sep 17 00:00:00 2001 From: Matheus Date: Mon, 3 Jul 2023 22:41:18 -0300 Subject: [PATCH] x86-64 context: fix identation on ARCH_CONTEXT_INTSTATUS macro --- kernel-src/include/x86-64/arch/context.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel-src/include/x86-64/arch/context.h b/kernel-src/include/x86-64/arch/context.h index d7355ec4..266e2d15 100644 --- a/kernel-src/include/x86-64/arch/context.h +++ b/kernel-src/include/x86-64/arch/context.h @@ -86,7 +86,6 @@ void arch_context_saveandcall(void (*fn)(context_t *context), void *stack); wrmsr(MSR_KERNELGSBASE, (t)->extracontext.gsbase); \ wrmsr(MSR_FSBASE, (t)->extracontext.fsbase); -#define ARCH_CONTEXT_INTSTATUS(x) \ - (x)->rflags & 0x200 ? true : false; +#define ARCH_CONTEXT_INTSTATUS(x) ((x)->rflags & 0x200 ? true : false) #endif