ust: make lttd work
[ust.git] / share / kernelcompat.h
index 052f7688bb9f36d804529eca4ca65176fc04c428..a18460e041554cd6568ea3c0d01c1f61d1fcfd39 100644 (file)
@@ -71,14 +71,6 @@ static inline long IS_ERR(const void *ptr)
 
 #define mutex_unlock(m) pthread_mutex_unlock(m)
 
-/* SPINLOCKS */
-
-typedef int spinlock_t;
-
-#define spin_lock(a) /* nothing */
-#define spin_unlock(a) /* nothing */
-#define spin_lock_init(a) /* nothing */
-
 
 /* MALLOCATION */
 
@@ -139,8 +131,6 @@ static int atomic_read(atomic_t *p)
 #define atomic_long_set atomic_set
 #define atomic_long_read atomic_read
 
-#include "asm.h"
-
 //#define __xg(x) ((volatile long *)(x))
 
 #define cmpxchg(ptr, o, n)                                             \
This page took 0.028399 seconds and 4 git commands to generate.