Add support for ppc hw tb clock, remove kernelcompat.h
[ust.git] / libust / tracercore.c
index 51f9a70877b07143692501b90cc01053a5867cf2..ff01f5e2a3933be64bed14260b79c182b77cb190 100644 (file)
@@ -18,7 +18,6 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#include <ust/kernelcompat.h>
 #include "tracercore.h"
 
 /* Traces structures */
@@ -42,7 +41,7 @@ void ltt_unlock_traces(void)
 
 //ust// DEFINE_PER_CPU(unsigned int, ltt_nesting);
 //ust// EXPORT_PER_CPU_SYMBOL(ltt_nesting);
-unsigned int ltt_nesting;
+__thread int ltt_nesting;
 
 int ltt_run_filter_default(void *trace, uint16_t eID)
 {
This page took 0.022393 seconds and 4 git commands to generate.