summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/kallsyms.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/kallsyms.c b/common/kallsyms.c
index 4069f4b701..490adb9223 100644
--- a/common/kallsyms.c
+++ b/common/kallsyms.c
@@ -2,6 +2,8 @@
#include <init.h>
#include <kallsyms.h>
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
+
/* These will be re-linked against their real values during the second link stage */
extern const unsigned long kallsyms_addresses[] __attribute__((weak));
extern const unsigned long kallsyms_num_syms __attribute__((weak));
@@ -12,6 +14,8 @@ extern const u16 kallsyms_token_index[] __attribute__((weak));
extern const unsigned long kallsyms_markers[] __attribute__((weak));
+#endif /* DOXYGEN_SHOULD_SKIP_THIS */
+
/* expand a compressed symbol data into the resulting uncompressed string,
given the offset to where the symbol is in the compressed stream */
static unsigned int kallsyms_expand_symbol(unsigned int off, char *result)