X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=wrapper%2Fsplice.h;h=a0e2b5f0144ed4164fc1799baca48beff5a21e9d;hb=80bb26003945e96a8ade9c8788dab9b2e08cbc08;hp=f75309a866fba4f14f503822e6db4f2d980d48f2;hpb=457501638fe38f96d90598a6284befec5f949ce4;p=lttng-modules.git diff --git a/wrapper/splice.h b/wrapper/splice.h index f75309a8..a0e2b5f0 100644 --- a/wrapper/splice.h +++ b/wrapper/splice.h @@ -1,16 +1,17 @@ -#ifndef _LTT_WRAPPER_SPLICE_H -#define _LTT_WRAPPER_SPLICE_H - -/* - * Copyright (C) 2011 Mathieu Desnoyers (mathieu.desnoyers@efficios.com) +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) + * + * wrapper/splice.h * - * wrapper around vmalloc_sync_all. Using KALLSYMS to get its address when + * wrapper around splice_to_pipe. Using KALLSYMS to get its address when * available, else we need to have a kernel that exports this function to GPL * modules. * - * Dual LGPL v2.1/GPL v2 license. + * Copyright (C) 2011-2012 Mathieu Desnoyers */ +#ifndef _LTTNG_WRAPPER_SPLICE_H +#define _LTTNG_WRAPPER_SPLICE_H + #include ssize_t wrapper_splice_to_pipe(struct pipe_inode_info *pipe, @@ -20,4 +21,4 @@ ssize_t wrapper_splice_to_pipe(struct pipe_inode_info *pipe, #define PIPE_DEF_BUFFERS 16 #endif -#endif /* _LTT_WRAPPER_SPLICE_H */ +#endif /* _LTTNG_WRAPPER_SPLICE_H */