aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv64/init/start.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv64/init/start.S')
-rw-r--r--arch/riscv64/init/start.S7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/riscv64/init/start.S b/arch/riscv64/init/start.S
index 759c409..7439d93 100644
--- a/arch/riscv64/init/start.S
+++ b/arch/riscv64/init/start.S
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: copyleft-next-0.3.1 */
/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */
-.section .init.start
+.section .init
.global _start
/* Entry point to the kernel loader. */
_start:
@@ -20,8 +20,3 @@ li sp, VM_STACK_TOP // load virtual stack address
li fp, 0
li gp, 0
jr a2 // jump to kernel
-
-/* there should be a kernel payload after this address */
-.section .top
-.global __kernel
-__kernel: