X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=wrapper%2Fpage_alloc.h;h=45462ac83dcc0f693a0d30895f3cc97afcc1a28c;hb=edfdcb685c3f56dde803244449f79ad7bed03798;hp=7802a12a960ae4bf08193fefc3ae733e256e7049;hpb=397c12b422ce844037885f5c35d824dd5ae4fec6;p=lttng-modules.git diff --git a/wrapper/page_alloc.h b/wrapper/page_alloc.h index 7802a12a..45462ac8 100644 --- a/wrapper/page_alloc.h +++ b/wrapper/page_alloc.h @@ -1,7 +1,5 @@ -#ifndef _LTTNG_WRAPPER_PAGE_ALLOC_H -#define _LTTNG_WRAPPER_PAGE_ALLOC_H - -/* +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) + * * wrapper/page_alloc.h * * wrapper around get_pfnblock_flags_mask. Using KALLSYMS to get its address @@ -9,23 +7,12 @@ * GPL modules. * * Copyright (C) 2015 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 "../lttng-kernel-version.h" +#ifndef _LTTNG_WRAPPER_PAGE_ALLOC_H +#define _LTTNG_WRAPPER_PAGE_ALLOC_H + +#include /* * We need to redefine get_pfnblock_flags_mask to our wrapper, because