On Fri, 05 Oct 2018 21:51:11 -0400 Steven Rostedt <rost...@goodmis.org> wrote:
> From: "Steven Rostedt (VMware)" <rost...@goodmis.org> > > Signed-off-by: Steven Rostedt (VMware) <rost...@goodmis.org> > --- > include/asm-generic/vmlinux.lds.h | 4 + > include/linux/jump_function.h | 93 ++++++++ > kernel/Makefile | 2 +- > kernel/jump_function.c | 368 ++++++++++++++++++++++++++++++ > 4 files changed, 466 insertions(+), 1 deletion(-) > create mode 100644 include/linux/jump_function.h > create mode 100644 kernel/jump_function.c > > diff --git a/include/asm-generic/vmlinux.lds.h > b/include/asm-generic/vmlinux.lds.h > index 7b75ff6e2fce..0e205069ff36 100644 > --- a/include/asm-generic/vmlinux.lds.h > +++ b/include/asm-generic/vmlinux.lds.h > @@ -257,6 +257,10 @@ > __start___jump_table = .; \ > KEEP(*(__jump_table)) \ > __stop___jump_table = .; \ > + . = ALIGN(8); \ > + __start___dynfunc_table = .; \ > + KEEP(*(__dynfunc_table)) \ > + __stop___dynfunc_table = .; \ > . = ALIGN(8); \ > __start___verbose = .; \ > KEEP(*(__verbose)) \ > BAH, this is leftover from my first attempt. It's not needed and can be nuked. -- Steve