projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update compat
[lttv.git]
/
ltt-usertrace
/
ltt
/
kernelutils-x86_64.h
diff --git
a/ltt-usertrace/ltt/kernelutils-x86_64.h
b/ltt-usertrace/ltt/kernelutils-x86_64.h
index 4f2ec2f7e2444352afa780f7d63df42a00a36b80..4141bd11f54009f84429482fd1297d8082ecb08f 100644
(file)
--- a/
ltt-usertrace/ltt/kernelutils-x86_64.h
+++ b/
ltt-usertrace/ltt/kernelutils-x86_64.h
@@
-12,6
+12,10
@@
#ifndef _KERNELUTILS_X86_64_H
#define _KERNELUTILS_X86_64_H
#ifndef _KERNELUTILS_X86_64_H
#define _KERNELUTILS_X86_64_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
// We are careful, so we assume a possibly SMP machine
#define LOCK "lock ; "
#define LOCK_PREFIX "lock ; "
// We are careful, so we assume a possibly SMP machine
#define LOCK "lock ; "
#define LOCK_PREFIX "lock ; "
@@
-164,5
+168,8
@@
static inline cycles_t get_cycles (void)
return ret;
}
return ret;
}
+#ifdef __cplusplus
+} /* end of extern "C" */
+#endif
#endif // _KERNELUTILS_X86_64_H
#endif // _KERNELUTILS_X86_64_H
This page took
0.024219 seconds
and
4
git commands to generate.