projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libust: start working on process keepalive
[lttng-ust.git]
/
share
/
kernelcompat.h
diff --git
a/share/kernelcompat.h
b/share/kernelcompat.h
index 63964888e6de5f93850e230ea899d047d0c75d6b..57d12f83aef1a85d713402984611cedcaf269833 100644
(file)
--- a/
share/kernelcompat.h
+++ b/
share/kernelcompat.h
@@
-1,10
+1,9
@@
#ifndef KERNELCOMPAT_H
#define KERNELCOMPAT_H
#ifndef KERNELCOMPAT_H
#define KERNELCOMPAT_H
+#include <compiler.h>
#include <kcompat.h>
#include <kcompat.h>
-#include "compiler.h"
-
#include <string.h>
#include <sys/time.h>
#include <string.h>
#include <sys/time.h>
@@
-142,7
+141,7
@@
static __inline__ int get_count_order(unsigned int count)
#define __ALIGN_MASK(x,mask) (((x)+(mask))&~(mask))
#define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)
#define PAGE_SIZE sysconf(_SC_PAGE_SIZE)
#define __ALIGN_MASK(x,mask) (((x)+(mask))&~(mask))
#define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)
#define PAGE_SIZE sysconf(_SC_PAGE_SIZE)
-#define PAGE_MASK (
PAGE_SIZE-1
)
+#define PAGE_MASK (
~(PAGE_SIZE-1)
)
@@
-189,14
+188,4
@@
static inline u32 trace_clock_freq_scale(void)
}
}
-/* LISTS */
-
-#define list_add_rcu list_add
-#define list_for_each_entry_rcu list_for_each_entry
-
-
-#define EXPORT_SYMBOL_GPL(a) /*nothing*/
-
-#define smp_processor_id() (-1)
-
#endif /* KERNELCOMPAT_H */
#endif /* KERNELCOMPAT_H */
This page took
0.02393 seconds
and
4
git commands to generate.