Messages in this thread | | | From | Zhigang Lu <> | Subject | [PATCH 0/2] add jump label support for TILE-Gx | Date | Wed, 30 Sep 2015 09:53:46 +0800 |
| |
This patch set adds jump_label support for TILE-Gx architecture. As jump_label shares some code with ftrace, kgdb and kprobes, we factor this out into a helper routine as a prequel patch.
Zhigang Lu (2): tile: define a macro ktext_writable_addr to get writable kernel text address tile/jump_label: add jump label support for TILE-Gx
arch/tile/Kconfig | 1 + arch/tile/include/asm/insn.h | 59 +++++++++++++++++++++++++++++++++++ arch/tile/include/asm/jump_label.h | 58 +++++++++++++++++++++++++++++++++++ arch/tile/include/asm/page.h | 10 ++++++ arch/tile/kernel/Makefile | 1 + arch/tile/kernel/ftrace.c | 13 ++------ arch/tile/kernel/jump_label.c | 63 ++++++++++++++++++++++++++++++++++++++ arch/tile/kernel/kgdb.c | 2 +- arch/tile/kernel/kprobes.c | 4 +-- 9 files changed, 197 insertions(+), 14 deletions(-) create mode 100644 arch/tile/include/asm/insn.h create mode 100644 arch/tile/include/asm/jump_label.h create mode 100644 arch/tile/kernel/jump_label.c
-- 2.1.2
| |