Skip to content

Commit b01f2fc

Browse files
committed
fix CONFIG_KPROBES on lunatik_aux
1 parent b20e8f6 commit b01f2fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lunatik_aux.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ EXPORT_SYMBOL(lunatik_loadfile);
6666
#ifdef MODULE /* see https://lwn.net/Articles/813350/ */
6767
#include <linux/kprobes.h>
6868

69+
#ifdef CONFIG_KPROBES
6970
static unsigned long (*__lunatik_lookup)(const char *) = NULL;
71+
#endif /* CONFIG_KPROBES */
7072

7173
void *lunatik_lookup(const char *symbol)
7274
{

0 commit comments

Comments
 (0)