X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lib%2Fringbuffer%2Fnohz.h;h=1d28d279622432eb24aca23d8a197bc101e4dae1;hb=369708f464bedc0682151df9308cebfa14dbdb2b;hp=a645764eb76c1032f6f5f506807df234a0130fb6;hpb=886d51a3d7ed5fa6b41d7f19b3e14ae6c535a44c;p=lttng-modules.git diff --git a/lib/ringbuffer/nohz.h b/lib/ringbuffer/nohz.h index a645764e..1d28d279 100644 --- a/lib/ringbuffer/nohz.h +++ b/lib/ringbuffer/nohz.h @@ -1,26 +1,13 @@ -#ifndef _LIB_RING_BUFFER_NOHZ_H -#define _LIB_RING_BUFFER_NOHZ_H - -/* +/* SPDX-License-Identifier: (GPL-2.0-only OR LGPL-2.1-only) + * * lib/ringbuffer/nohz.h * * Copyright (C) 2011-2012 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 _LIB_RING_BUFFER_NOHZ_H +#define _LIB_RING_BUFFER_NOHZ_H + #ifdef CONFIG_LIB_RING_BUFFER void lib_ring_buffer_tick_nohz_flush(void); void lib_ring_buffer_tick_nohz_stop(void);