X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=wrapper%2Frcu.h;h=29f60947c05f2a3e6bbd975e4904630f0dd3ade3;hb=7c6d929d62a6e24fb1dbeaee5cd2c8afe77720b7;hp=8c4cd7442c1907f6839d6629849b3c2b735187d8;hpb=ac5d8d008d298c7c08101d4a521686578deec6a9;p=lttng-modules.git diff --git a/wrapper/rcu.h b/wrapper/rcu.h index 8c4cd744..29f60947 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-only or LGPL-2.1-only) + * * 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 */ +#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)