Messages in this thread Patch in this message | | | Date | Wed, 28 Jul 2010 16:42:26 -0400 | From | Jason Baron <> | Subject | Re: [PATCH 00/12] jump label v10 |
| |
On Wed, Jul 28, 2010 at 01:24:27PM -0700, David Miller wrote: > > Patches are against Ingo's latest -tip tree. > > After applying patch #5: > > kernel/kprobes.c: In function 'register_kprobe': > kernel/kprobes.c:1145:6: error: implicit declaration of function 'jump_label_text_reserved' > make[1]: *** [kernel/kprobes.o] Error 1 > make[1]: *** Waiting for unfinished jobs.... > make: *** [kernel] Error 2
ok,
Not sure exactly what your .config is, but pulling in jump_label.h explicitly into kprobes.c should fix that. if it doesn't please post your .config.
diff --git a/kernel/kprobes.c b/kernel/kprobes.c index 2f9bea6..a53bff3 100644 --- a/kernel/kprobes.c +++ b/kernel/kprobes.c @@ -47,6 +47,7 @@ #include <linux/memory.h> #include <linux/ftrace.h> #include <linux/cpu.h> +#include <linux/jump_label.h> #include <asm-generic/sections.h> #include <asm/cacheflush.h> thanks,
-Jason
| |