From: Mathieu Desnoyers Date: Thu, 9 Jun 2011 00:42:46 +0000 (-0400) Subject: Update following liburcu changes X-Git-Tag: v0.14~6 X-Git-Url: http://git.lttng.org/?p=ust.git;a=commitdiff_plain;h=730c53dc7daf938d99745ea8970e038e1a47f096 Update following liburcu changes Addition of call_rcu in liburcu deprecates the simple.h kcompat header. Signed-off-by: Mathieu Desnoyers --- diff --git a/README b/README index 2d1d570..f4a0101 100644 --- a/README +++ b/README @@ -16,7 +16,7 @@ PREREQUISITES: - liburcu Userspace RCU library, by Mathieu Desnoyers and Paul E. McKenney - -> This release was tested with liburcu v0.5.4 + -> This release depends on liburcu v0.5.5 * Debian/Ubuntu package: liburcu-dev * Website: http://lttng.org/urcu diff --git a/include/Makefile.am b/include/Makefile.am index eedde64..bd649b6 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -20,7 +20,6 @@ noinst_HEADERS = \ ust/kcompat/kcompat.h \ ust/kcompat/jhash.h \ ust/kcompat/compiler.h \ - ust/kcompat/simple.h \ ust/kcompat/types.h \ ust/tracectl.h \ ust/ustctl.h \ diff --git a/include/ust/kcompat/kcompat.h b/include/ust/kcompat/kcompat.h index 7903650..be8d926 100644 --- a/include/ust/kcompat/kcompat.h +++ b/include/ust/kcompat/kcompat.h @@ -56,7 +56,6 @@ #include /* Kernel libs */ -#include #include #include #include diff --git a/include/ust/kcompat/simple.h b/include/ust/kcompat/simple.h deleted file mode 100644 index 38a9be5..0000000 --- a/include/ust/kcompat/simple.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * simple.h - * - * Copyright (C) 2009 - Pierre-Marc Fournier (pierre-marc dot fournier at polymtl dot ca) - * - * 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; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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 KCOMPAT_SIMPLE_H -#define KCOMPAT_SIMPLE_H - -/* libkcompat: from rcupdate.h */ - -struct rcu_head { - struct rcu_head *next; - void (*func)(struct rcu_head *head); -}; - -#endif /* KCOMPAT_SIMPLE_H */ diff --git a/libust/marker.c b/libust/marker.c index f9acab6..a497f06 100644 --- a/libust/marker.c +++ b/libust/marker.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include