remarkable-linux/arch/powerpc
Libin c02e0349d7 powerpc/ftrace: Fix the comments for ftrace_modify_code
There is no need to worry about module and __init text disappearing
case, because that ftrace has a module notifier that is called when a
module is being unloaded and before the text goes away and this code
grabs the ftrace_lock mutex and removes the module functions from the
ftrace list, such that it will no longer do any modifications to that
module's text, the update to make functions be traced or not is done
under the ftrace_lock mutex as well. And by now, __init section codes
should not been modified by ftrace, because it is black listed in
recordmcount.c and ignored by ftrace.

Suggested-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Li Bin <huawei.libin@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-12-03 22:10:15 +11:00
..
boot powerpc/ps3: Fix system hang with GCC 5 builds 2016-11-30 23:19:59 +11:00
configs powerpc: Enable CONFIG_KEXEC_FILE in powerpc server defconfigs. 2016-11-30 23:15:36 +11:00
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2016-10-10 14:04:16 -07:00
include powerpc/iommu: Stop using @current in mm_iommu_xxx 2016-12-02 14:38:29 +11:00
kernel powerpc/ftrace: Fix the comments for ftrace_modify_code 2016-12-03 22:10:15 +11:00
kvm KVM: PPC: Book3S HV: Fix build error when SMP=n 2016-10-22 08:44:37 +11:00
lib powerpc/lib: Fix randconfig build failure in sstep.c 2016-11-18 22:40:42 +11:00
math-emu
mm powerpc/mm/iommu, vfio/spapr: Put pages on VFIO container shutdown 2016-12-02 14:38:34 +11:00
net powerpc/bpf: Add support for bpf constant blinding 2016-10-04 20:33:20 +11:00
oprofile powerpc/sparse: Make a bunch of things static 2016-09-13 17:35:47 +10:00
perf powerpc/perf: macros for power9 format encoding 2016-12-02 16:26:57 +11:00
platforms powerpc: Make selects of IBM_EMAC_* depend on IBM_EMAC 2016-12-01 22:07:16 +11:00
purgatory powerpc: Add purgatory for kexec_file_load() implementation. 2016-11-30 23:15:26 +11:00
scripts
sysdev powerpc: Add support for relative exception tables 2016-11-14 11:11:51 +11:00
xmon powerpc/xmon: Add 'dt' command to dump trace buffers 2016-11-25 14:30:27 +11:00
Kconfig powerpc/64: Define ILLEGAL_POINTER_VALUE for 64-bit 2016-12-02 13:01:04 +11:00
Kconfig.debug powerpc/mm: Fix page table dump build on non-Book3S 2016-12-01 16:20:18 +11:00
Makefile powerpc: Add purgatory for kexec_file_load() implementation. 2016-11-30 23:15:26 +11:00
relocs_check.sh powerpc/64: whitelist unresolved modversions CRCs 2016-09-22 14:46:31 +02:00