From: Rabin Vincent Date: Tue, 10 Aug 2010 18:39:20 +0000 (+0100) Subject: ARM: 6317/1: ftrace: pass KBUILD_CFLAGS to record_mcount.pl X-Git-Tag: v2.6.37-rc1~184^2~7^3~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9810a82536e0c730c57844753e6c08cc7f77881;p=pandora-kernel.git ARM: 6317/1: ftrace: pass KBUILD_CFLAGS to record_mcount.pl On ARM, we have two ABIs, and the ABI used is controlled via a config option. Object files built with one ABI can't be merged with object files built with the other ABI. So, record_mcount.pl needs to use the same compiler flags as the kernel when generating the object file with the mcount locations. Ensure this by passing CFLAGS to the script. Acked-by: Steven Rostedt Signed-off-by: Rabin Vincent Signed-off-by: Russell King --- Reading git-diff-tree failed