defconfig: 8996: Enable OPTIMIZE_FOR_SIZE for perf defconfig

Enable OPTMIZE_FOR_SIZE for msm-perf_defconfig and
also fix the forbidden warning found during the compilation.

Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
This commit is contained in:
Trilok Soni 2016-03-07 11:20:35 -08:00 committed by David Keitel
parent 8867904a55
commit ad00f1292b
2 changed files with 2 additions and 1 deletions

View file

@ -24,6 +24,7 @@ CONFIG_SCHED_HMP=y
# CONFIG_NET_NS is not set
CONFIG_SCHED_AUTOGROUP=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_KALLSYMS_ALL=y
# CONFIG_COMPAT_BRK is not set
CONFIG_PROFILING=y

View file

@ -325,7 +325,7 @@ static u32 mdss_mdp_perf_calc_pipe_prefill_video(struct mdss_mdp_prefill_params
u32 y_buf_bytes = 0;
u32 y_scaler_bytes = 0;
u32 pp_bytes = 0, pp_lines = 0;
u32 post_scaler_bytes;
u32 post_scaler_bytes = 0;
u32 fbc_bytes = 0;
prefill_bytes = prefill->ot_bytes;