aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/fs/elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/fs/elf.c')
-rw-r--r--src/kernel/fs/elf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/kernel/fs/elf.c b/src/kernel/fs/elf.c
index be1bc95..c89fd2e 100644
--- a/src/kernel/fs/elf.c
+++ b/src/kernel/fs/elf.c
@@ -25,7 +25,6 @@ int is_elf(struct elf_header *header)
struct process *elf_load(char *path)
{
- cli();
u8 *file = read_file(path);
if (!file) {
warn("File or directory not found: %s", path);
@@ -73,6 +72,5 @@ struct process *elf_load(char *path)
}
paging_switch_directory(paging_root_directory);
- sti();
return proc;
} \ No newline at end of file