X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=wrapper%2Frcu.h;h=071c3a2744c3d0760903e45d2f34858d601fe642;hb=2d0428212cbfa3f8428feee160b095f48c2ac974;hp=8c4cd7442c1907f6839d6629849b3c2b735187d8;hpb=ac5d8d008d298c7c08101d4a521686578deec6a9;p=lttng-modules.git diff --git a/wrapper/rcu.h b/wrapper/rcu.h index 8c4cd744..071c3a27 100644 --- a/wrapper/rcu.h +++ b/wrapper/rcu.h @@ -1,32 +1,19 @@ -#ifndef _LTTNG_WRAPPER_RCU_H -#define _LTTNG_WRAPPER_RCU_H - -/* +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) + * * wrapper/rcu.h * * wrapper around linux/rcupdate.h and linux/rculist.h. * * Copyright (C) 2014 Mathieu Desnoyers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; only - * version 2.1 of the License. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include +#ifndef _LTTNG_WRAPPER_RCU_H +#define _LTTNG_WRAPPER_RCU_H + +#include #include #include -#include "list.h" +#include #ifndef rcu_dereference_raw_notrace #define rcu_dereference_raw_notrace(p) rcu_dereference_raw(p)