diff options
| author | Carlos López <clopez@suse.de> | 2026-02-10 19:31:17 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2026-02-10 19:31:17 +0800 |
| commit | f5db714646c0a90842f7c09cda72b7844a46a179 (patch) | |
| tree | decfdfda2f04bb33550a5ac875db843909f0c564 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 5ec5ac4ca27e4daa234540ac32f9fc5219377d53 (diff) | |
LoongArch: Use IS_ERR_PCPU() macro for KGDB
In commit a759e37fb467 ("err.h: add ERR_PTR_PCPU(), PTR_ERR_PCPU() and
IS_ERR_PCPU() macros"), specialized macros were added to check an error
within a __percpu pointer, so use them instead of manually casting with
__force, like all other users of register_wide_hw_breakpoint().
Signed-off-by: Carlos López <clopez@suse.de>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
