summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/elf.c')
-rw-r--r--arch/x86_64/elf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/elf.c b/arch/x86_64/elf.c
index 696b7a7..ae0fa71 100644
--- a/arch/x86_64/elf.c
+++ b/arch/x86_64/elf.c
@@ -1,4 +1,5 @@
#include "elf.h"
+#include "init.h"
#include <stddef.h>
int
@@ -23,5 +24,6 @@ elf64_loadexec(Elf64_Ehdr *ehdr)
if(!elf64_ehdr_valid(ehdr)) return NULL;
void *entry = (void*)ehdr->e_entry;
+
return entry;
}