commit | 7048c846949ac1feb09d1b624ea0e8c351d92a7b | [log] [tgz] |
---|---|---|
author | Paul Mackerras <paulus@samba.org> | Mon Nov 03 15:46:43 2014 +1100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Wed Nov 12 15:54:29 2014 +1100 |
tree | ec6707704c3afbb88ee9e2f1ff7fd454839a9027 | |
parent | 8b91a2554610ac5e341de8fb0b5715fe90a0f2e2 [diff] |
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 <paulus@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>