From c5b0305b3a6e7e6ec6742b99ceb6a1a0b3c6e286 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 9 May 2020 23:50:24 +0200 Subject: Interrupt analysis - removed many useless cli/sti --- src/kernel/fs/elf.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/kernel/fs') 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 -- cgit v1.2.3