From 645e752c5a84baeb21015cdc85fc05b7d16312c8 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Sat, 11 May 2024 01:13:52 +0000
Subject: [PATCH] disable i2c1
---
kernel/arch/h8300/kernel/ptrace_h.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/arch/h8300/kernel/ptrace_h.c b/kernel/arch/h8300/kernel/ptrace_h.c
index f5ff3b7..15db45a 100644
--- a/kernel/arch/h8300/kernel/ptrace_h.c
+++ b/kernel/arch/h8300/kernel/ptrace_h.c
@@ -250,7 +250,7 @@
{
if ((unsigned long)current->thread.breakinfo.addr == bp) {
user_disable_single_step(current);
- force_sig(SIGTRAP, current);
+ force_sig(SIGTRAP);
} else
- force_sig(SIGILL, current);
+ force_sig(SIGILL);
}
--
Gitblit v1.6.2