diff options
author | Danny Holman <dholman@gymli.org> | 2024-06-21 21:54:28 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2024-06-21 21:54:28 -0500 |
commit | 2f224cdeadc380037cb74c10fc65d17aac05b730 (patch) | |
tree | 39647e1689a05c37ee9a49abde4ef88053fe9d01 /arch/i386/kernel | |
parent | 1b09993e4fd0b1aebb3747818a1fc670abf6a02c (diff) |
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 <dholman@gymli.org>
Diffstat (limited to 'arch/i386/kernel')
-rw-r--r-- | arch/i386/kernel/gdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |