From ea08eeccae9297f7aabd2ef7f0c2517ac4549acc Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 20 Feb 2024 01:18:26 +0000
Subject: [PATCH] write in 30M
---
kernel/arch/riscv/include/asm/jump_label.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/kernel/arch/riscv/include/asm/jump_label.h b/kernel/arch/riscv/include/asm/jump_label.h
index 38af2ec..729991e 100644
--- a/kernel/arch/riscv/include/asm/jump_label.h
+++ b/kernel/arch/riscv/include/asm/jump_label.h
@@ -18,6 +18,7 @@
bool branch)
{
asm_volatile_goto(
+ " .align 2 \n\t"
" .option push \n\t"
" .option norelax \n\t"
" .option norvc \n\t"
@@ -39,6 +40,7 @@
bool branch)
{
asm_volatile_goto(
+ " .align 2 \n\t"
" .option push \n\t"
" .option norelax \n\t"
" .option norvc \n\t"
--
Gitblit v1.6.2