projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix warnings on non-x86_64 systems
[lttng-ust.git]
/
src
/
common
/
counter
/
shm.c
diff --git
a/src/common/counter/shm.c
b/src/common/counter/shm.c
index e421d045c991a02be48e655a044c42d30d0c2491..8b65d1fc6137dcb80dafbe5c39689ed8c5010c29 100644
(file)
--- a/
src/common/counter/shm.c
+++ b/
src/common/counter/shm.c
@@
-192,11
+192,19
@@
static bool lttng_is_numa_available(void)
}
#endif
}
#endif
+#ifdef HAVE_LIBNUMA
struct lttng_counter_shm_object *lttng_counter_shm_object_table_alloc(struct lttng_counter_shm_object_table *table,
size_t memory_map_size,
enum lttng_counter_shm_object_type type,
int cpu_fd,
int cpu)
struct lttng_counter_shm_object *lttng_counter_shm_object_table_alloc(struct lttng_counter_shm_object_table *table,
size_t memory_map_size,
enum lttng_counter_shm_object_type type,
int cpu_fd,
int cpu)
+#else
+struct lttng_counter_shm_object *lttng_counter_shm_object_table_alloc(struct lttng_counter_shm_object_table *table,
+ size_t memory_map_size,
+ enum lttng_counter_shm_object_type type,
+ int cpu_fd,
+ int cpu __attribute__((unused)))
+#endif
{
struct lttng_counter_shm_object *shm_object;
#ifdef HAVE_LIBNUMA
{
struct lttng_counter_shm_object *shm_object;
#ifdef HAVE_LIBNUMA
This page took
0.023432 seconds
and
4
git commands to generate.