projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: ensure power of 2 check handles 64-bit size_t entirely
[lttng-modules.git]
/
wrapper
/
kallsyms.h
diff --git
a/wrapper/kallsyms.h
b/wrapper/kallsyms.h
index bb45f38a8982f339a47b7372d795d840bfbf292f..eb904e06d497bdf72919e20afed07fd6a00138eb 100644
(file)
--- a/
wrapper/kallsyms.h
+++ b/
wrapper/kallsyms.h
@@
-1,5
+1,5
@@
-#ifndef _LTT_WRAPPER_KALLSYMS_H
-#define _LTT_WRAPPER_KALLSYMS_H
+#ifndef _LTT
NG
_WRAPPER_KALLSYMS_H
+#define _LTT
NG
_WRAPPER_KALLSYMS_H
/*
* Copyright (C) 2011 Avik Sil (avik.sil@linaro.org)
/*
* Copyright (C) 2011 Avik Sil (avik.sil@linaro.org)
@@
-11,6
+11,8
@@
* Dual LGPL v2.1/GPL v2 license.
*/
* Dual LGPL v2.1/GPL v2 license.
*/
+#include <linux/kallsyms.h>
+
static inline
unsigned long kallsyms_lookup_funcptr(const char *name)
{
static inline
unsigned long kallsyms_lookup_funcptr(const char *name)
{
@@
-25,4
+27,4
@@
unsigned long kallsyms_lookup_funcptr(const char *name)
#endif
return addr;
}
#endif
return addr;
}
-#endif /* _LTT_WRAPPER_KALLSYMS_H */
+#endif /* _LTT
NG
_WRAPPER_KALLSYMS_H */
This page took
0.023934 seconds
and
4
git commands to generate.