]> git.baikalelectronics.ru Git - kernel.git/commit
tile: define a macro ktext_writable_addr to get writable kernel text address
authorZhigang Lu <zlu@ezchip.com>
Wed, 30 Sep 2015 01:53:47 +0000 (09:53 +0800)
committerChris Metcalf <cmetcalf@ezchip.com>
Mon, 4 Jan 2016 20:09:31 +0000 (15:09 -0500)
commit6fedf79fbacd9d850c6a22c9bb876fa7febcffd6
treec9c49f97a3a3abd0c55fce3f41fe71ef0125d3af
parent8a4e66d6876ca2806a1603b37b11e6302e642c93
tile: define a macro ktext_writable_addr to get writable kernel text address

It is used by kgdb, ftrace, kprobe and jump label, so we factor
this out into a helper routine.

Reviewed-by: Chris Metcalf <cmetcalf@ezchip.com>
Signed-off-by: Zhigang Lu <zlu@ezchip.com>
Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
arch/tile/include/asm/page.h
arch/tile/kernel/ftrace.c
arch/tile/kernel/kgdb.c
arch/tile/kernel/kprobes.c