Greg Thelen ed7d40bc67 tracing: Fix SKIP_STACK_VALIDATION=1 build due to bad merge with -mrecord-mcount
Non gcc-5 builds with CONFIG_STACK_VALIDATION=y and
SKIP_STACK_VALIDATION=1 fail.
Example output:
  /bin/sh: init/.tmp_main.o: Permission denied

commit 96f60dfa5819 ("trace: Use -mcount-record for dynamic ftrace"),
added a mismatched endif.  This causes cmd_objtool to get mistakenly
set.

Relocate endif to balance the newly added -record-mcount check.

Link: http://lkml.kernel.org/r/20180608214746.136554-1-gthelen@google.com

Fixes: 96f60dfa5819 ("trace: Use -mcount-record for dynamic ftrace")
Acked-by: Andi Kleen <ak@linux.intel.com>
Tested-by: David Rientjes <rientjes@google.com>
Signed-off-by: Greg Thelen <gthelen@google.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2018-06-21 15:12:56 -04:00
..
2018-06-06 11:00:15 -07:00
2018-06-11 09:16:30 +09:00
2017-03-28 16:16:52 +02:00
2018-06-06 11:00:15 -07:00
2018-02-02 00:21:47 +09:00
2011-08-31 16:12:17 +02:00
2012-06-27 12:44:29 -07:00
2018-05-29 03:28:58 +09:00
2017-11-17 17:45:29 -08:00
2017-11-14 18:25:40 -08:00
2017-11-17 17:45:29 -08:00
2018-02-06 18:32:47 -08:00
2018-06-07 14:06:31 -07:00
2017-11-17 17:45:29 -08:00
2017-11-17 17:45:29 -08:00
2018-04-27 16:45:49 -06:00
2018-06-07 17:34:37 -07:00
2014-08-20 16:03:45 +02:00