completely remove kernel headers
[lttv.git] / ltt-usertrace / ltt / ltt-usertrace.h
index 4fed3b76b90c0c083f8510b331d1bb3919b105e9..d4d8861322dc3cc1d873e3e2ab420d0241d8ccde 100644 (file)
@@ -14,7 +14,6 @@
 #include <string.h>
 #include <stdint.h>
 #include <sys/types.h>
-#include <linux/unistd.h>
 
 #define inline inline __attribute__((always_inline))
 
 #include <ltt/timex-ppc.h>
 #endif
 #elif defined(__x86_64__)
-#include <asm/timex.h>
-#include <asm/bitops.h>
-#include <asm/atomic.h>
-#include <asm/system.h>
+#include <ltt/kernelutils-x86_64.h>
+#elif defined(__i386__)
+#include <ltt/kernelutils-i386.h>
 #else
-#include <asm/timex.h>
-#include <asm/atomic.h>
+#error "Unsupported architecture"
 #endif
 
 #ifndef min
This page took 0.022996 seconds and 4 git commands to generate.