From 2f224cdeadc380037cb74c10fc65d17aac05b730 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Fri, 21 Jun 2024 21:54:28 -0500 Subject: arch: i386: gdt: flush_gdt no longer takes arguments The function flush_gdt() no longer accepts arguments. Update the function call to reflect this change. Signed-off-by: Danny Holman --- arch/i386/kernel/gdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch') diff --git a/arch/i386/kernel/gdt.c b/arch/i386/kernel/gdt.c index 9e2dd85..0d9e1d2 100644 --- a/arch/i386/kernel/gdt.c +++ b/arch/i386/kernel/gdt.c @@ -53,6 +53,6 @@ void gdt_install(void) { __asm__ volatile("movl %%esp, %0" : "=r"(esp)); write_tss(5, 0x10, esp); - flush_gdt(&gp); + flush_gdt(); flush_tss(); } -- cgit v1.2.3