This is part of early kprobes patch series update. Full series can be found from [1].
Early kprobes need some statically allocated slots, which is determined during linking by vmlinux.lds.S. Russell King suggests me not to spread vmlinux stuff around the kernel include files. This series tries to extract common code to include/asm-generic/vmlinux.lds.h and let arch dependent code define macros common code requires. [1]: https://lkml.org/lkml/2015/2/13/24 Wang Nan (3): early kprobes: ARM: add definition for vmlinux.lds use. early kprobes: x86: add definition for vmlinux.lds use. early kprobes: introduce early kprobes related code area. arch/arm/kernel/vmlinux.lds.S | 10 ++++++++++ arch/x86/kernel/vmlinux.lds.S | 10 ++++++++++ include/asm-generic/vmlinux.lds.h | 19 ++++++++++++++++++- 3 files changed, 38 insertions(+), 1 deletion(-) -- 1.8.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/