From: Dave Martin Date: Wed, 20 Feb 2013 17:34:20 +0000 (+0000) Subject: ARM: mcpm: Make all mcpm functions notrace X-Git-Tag: firefly_0821_release~3680^2~236^2^2~7^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=524f7be297e743ad275c088e14ea0d582c7b0115;p=firefly-linux-kernel-4.4.55.git ARM: mcpm: Make all mcpm functions notrace The functions in mcpm_entry.c are mostly intended for use during scary cache and coherency disabling sequences, or do other things which confuse trace ... like powering a CPU down and not returning. Similarly for the backend code. For simplicity, this patch just makes whole files notrace. There should be more than enough traceable points on the paths to these functions, but we can be more fine-grained later if there is a need for it. Signed-off-by: Dave Martin --- diff --git a/arch/arm/common/Makefile b/arch/arm/common/Makefile index 48434cbe3e89..f27d6a7af57f 100644 --- a/arch/arm/common/Makefile +++ b/arch/arm/common/Makefile @@ -16,3 +16,4 @@ obj-$(CONFIG_ARM_TIMER_SP804) += timer-sp.o obj-$(CONFIG_MCPM) += mcpm_head.o mcpm_entry.o mcpm_platsmp.o vlock.o AFLAGS_mcpm_head.o := -march=armv7-a AFLAGS_vlock.o := -march=armv7-a +CFLAGS_REMOVE_mcpm_entry.o = -pg