-#ifndef _LIBRINGBUFFER_SMP_H
-#define _LIBRINGBUFFER_SMP_H
-
/*
- * libringbuffer/smp.h
- *
- * Copyright 2011 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ * SPDX-License-Identifier: LGPL-2.1-only
*
- * Dual LGPL v2.1/GPL v2 license.
+ * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*/
+#ifndef _LIBRINGBUFFER_SMP_H
+#define _LIBRINGBUFFER_SMP_H
+
+#include "ust-helper.h"
#include "getcpu.h"
/*
*/
#define PER_CPU_MEM_SIZE 4096
+LTTNG_HIDDEN
extern int __num_possible_cpus;
+LTTNG_HIDDEN
extern void _get_num_possible_cpus(void);
static inline