rseq: set refcount back to 1 on unregister failure
[librseq.git] / src / percpu-op.c
1 // SPDX-License-Identifier: LGPL-2.1-only
2 /*
3 * percpu-op.c
4 *
5 * Copyright (C) 2017 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; only
10 * version 2.1 of the License.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 */
17
18 #ifndef _GNU_SOURCE
19 #define _GNU_SOURCE
20 #endif
21 #include <rseq/rseq.h>
22 #include <rseq/cpu-op.h>
This page took 0.028945 seconds and 4 git commands to generate.