aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/memory
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/memory')
-rw-r--r--src/kernel/memory/paging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/memory/paging.c b/src/kernel/memory/paging.c
index 99160d0..d859efc 100644
--- a/src/kernel/memory/paging.c
+++ b/src/kernel/memory/paging.c
@@ -78,7 +78,7 @@ void paging_switch_directory(int user)
asm("mov %0, %%cr3" ::"r"(current_page_directory));
}
-inline void invlpg(uint32_t addr)
+void invlpg(uint32_t addr)
{
asm("invlpg (%0)" ::"r"(addr) : "memory");
}