Re: [PATCH V2 12/14] perf sched: Fix optimized build time

From: David Ahern
Date: Wed Oct 23 2013 - 02:44:29 EST


On 10/22/13 8:34 AM, Adrian Hunter wrote:
builtin-sched.c took a log time to build with
-O6 optimization. This turned out to be caused
by:

.curr_pid = { [0 ... MAX_CPUS - 1] = -1 },

Fix by initializing curr_pid programmatically.

Signed-off-by: Adrian Hunter<adrian.hunter@xxxxxxxxx>


Acked-by: David Ahern <dsahern@xxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/