| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * arch/sh/kernel/hw_breakpoint.c |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Unified kernel/user-space hardware breakpoint facility for the on-chip UBC. |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * 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. |
|---|
| 11 | 8 | */ |
|---|
| 12 | 9 | #include <linux/init.h> |
|---|
| 13 | 10 | #include <linux/perf_event.h> |
|---|
| .. | .. |
|---|
| 342 | 339 | /* Deliver the signal to userspace */ |
|---|
| 343 | 340 | if (!arch_check_bp_in_kernelspace(&bp->hw.info)) { |
|---|
| 344 | 341 | force_sig_fault(SIGTRAP, TRAP_HWBKPT, |
|---|
| 345 | | - (void __user *)NULL, current); |
|---|
| 342 | + (void __user *)NULL); |
|---|
| 346 | 343 | } |
|---|
| 347 | 344 | |
|---|
| 348 | 345 | rcu_read_unlock(); |
|---|