projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add ppc atomic
[lttv.git]
/
ltt-usertrace
/
ltt
/
ltt-usertrace.h
diff --git
a/ltt-usertrace/ltt/ltt-usertrace.h
b/ltt-usertrace/ltt/ltt-usertrace.h
index 7506763e258eae8315db5af18b6c5a3a538a5217..eb8f9c85b31b911f84f157b2eae0d7da4ec7534a 100644
(file)
--- a/
ltt-usertrace/ltt/ltt-usertrace.h
+++ b/
ltt-usertrace/ltt/ltt-usertrace.h
@@
-11,22
+11,28
@@
#include <errno.h>
#include <syscall.h>
#include <errno.h>
#include <syscall.h>
-#include <linux/unistd.h>
-#include <asm/atomic.h>
#include <string.h>
#include <string.h>
-#include <sys/types.h>
#include <stdint.h>
#include <stdint.h>
+#include <sys/types.h>
+#include <linux/unistd.h>
#ifndef min
#define min(a,b) ((a)<(b)?(a):(b))
#endif
#ifndef min
#define min(a,b) ((a)<(b)?(a):(b))
#endif
-//Put in asm-i486/unistd.h
+#ifdef i386
#define __NR_ltt_trace_generic 311
#define __NR_ltt_register_generic 312
#define __NR_ltt_trace_generic 311
#define __NR_ltt_register_generic 312
-
#undef NR_syscalls
#define NR_syscalls 313
#undef NR_syscalls
#define NR_syscalls 313
+#endif
+
+#ifdef powerpc
+#define __NR_ltt_trace_generic 283
+#define __NR_ltt_register_generic 284
+#undef NR_syscalls
+#define NR_syscalls 285
+#endif
//FIXME : setup for ARM
//FIXME : setup for MIPS
//FIXME : setup for ARM
//FIXME : setup for MIPS
This page took
0.022944 seconds
and
4
git commands to generate.