From: Paul Mackerras Date: Mon, 3 Nov 2014 04:46:43 +0000 (+1100) Subject: powerpc: Fix compilation of emulate_step() X-Git-Tag: omap-for-v3.19/fixes-rc1~123^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7048c846949ac1feb09d1b624ea0e8c351d92a7b;p=pandora-kernel.git powerpc: Fix compilation of emulate_step() Commit be96f63375a1 ("powerpc: Split out instruction analysis part of emulate_step()") added some calls to do_fp_load() and do_fp_store(), which fail to compile on configs with CONFIG_PPC_FPU=n and CONFIG_PPC_EMULATE_SSTEP=y. This fixes the compile by adding #ifdef CONFIG_PPC_FPU around the code that calls these functions. Signed-off-by: Paul Mackerras Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed