Move to kernel style SPDX license identifiers
[lttng-ust.git] / libcounter / smp.h
index 00ca7a038ee42ed4ec15ddcc2f037207ceec45a0..8bf8974d10aa5eb92610e52fdfff706a74390c84 100644 (file)
@@ -1,32 +1,22 @@
-#ifndef _LIBCOUNTER_SMP_H
-#define _LIBCOUNTER_SMP_H
-
 /*
- * libcounter/smp.h
+ * SPDX-License-Identifier: LGPL-2.1-only
  *
  * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
- *
- * 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 _LIBCOUNTER_SMP_H
+#define _LIBCOUNTER_SMP_H
+
+#include "helper.h"
+
 /*
  * 4kB of per-cpu data available.
  */
 #define LTTNG_COUNTER_PER_CPU_MEM_SIZE 4096
 
+LTTNG_HIDDEN
 extern int __lttng_counter_num_possible_cpus;
+LTTNG_HIDDEN
 extern void _lttng_counter_get_num_possible_cpus(void);
 
 static inline
This page took 0.040522 seconds and 4 git commands to generate.