forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-09 05e59e5fb0064c97a1c10921ecd549f2d4a58565
kernel/arch/sh/kernel/hw_breakpoint.c
....@@ -1,13 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * arch/sh/kernel/hw_breakpoint.c
34 *
45 * Unified kernel/user-space hardware breakpoint facility for the on-chip UBC.
56 *
67 * Copyright (C) 2009 - 2010 Paul Mundt
7
- *
8
- * This file is subject to the terms and conditions of the GNU General Public
9
- * License. See the file "COPYING" in the main directory of this archive
10
- * for more details.
118 */
129 #include <linux/init.h>
1310 #include <linux/perf_event.h>
....@@ -342,7 +339,7 @@
342339 /* Deliver the signal to userspace */
343340 if (!arch_check_bp_in_kernelspace(&bp->hw.info)) {
344341 force_sig_fault(SIGTRAP, TRAP_HWBKPT,
345
- (void __user *)NULL, current);
342
+ (void __user *)NULL);
346343 }
347344
348345 rcu_read_unlock();