aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/memory/alloc.c
diff options
context:
space:
mode:
authorMarvin Borner2020-03-18 16:41:21 +0100
committerMarvin Borner2020-03-18 16:41:21 +0100
commitc6657aac0c5d5ecf347bc082cb6df38e1174d297 (patch)
tree5db660dd74d9741cf1105290d4584d9a1fdb7020 /src/kernel/memory/alloc.c
parentadd6efeb22ffb7695d5c9addcef073fc653f700e (diff)
Replaced asm calls with sweet function
Diffstat (limited to 'src/kernel/memory/alloc.c')
-rw-r--r--src/kernel/memory/alloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/memory/alloc.c b/src/kernel/memory/alloc.c
index cffcace..faeb4bf 100644
--- a/src/kernel/memory/alloc.c
+++ b/src/kernel/memory/alloc.c
@@ -5,13 +5,13 @@
int liballoc_lock()
{
- // asm ("cli");
+ // cli();
return 0;
}
int liballoc_unlock()
{
- // asm ("sti");
+ // sti();
return 0;
}
@@ -454,4 +454,4 @@ void *PREFIX(realloc)(void *p, size_t size)
PREFIX(free)(p);
return ptr;
-} \ No newline at end of file
+}