On Thu, Mar 16, 2017 at 04:40:36PM -0400, Steven Rostedt wrote: > [ > Fengguang Wu's bot told me that it failed to compile, as ftrace_32.S > always gets compiled (as does ftrace_64.S). And the content needs to > be protected within the #ifdef. > ]
Why not instead make their compilation conditional in the Makefile? Like: obj-$(CONFIG_FUNCTION_TRACER) += ftrace_$(bits).o -- Josh

