aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2018-11-07 23:14:04 +0000
committerPaul Burton <paul.burton@mips.com>2018-11-09 10:23:15 -0800
commit9ec55930e023a18dfc7cca60afdd8c9f9da54f3e (patch)
tree2f1bc66662c255717132ced7f9e288fc328f01ed /tools/perf/scripts/python/bin
parentMIPS: Hardcode cpu_has_fpu=0 when CONFIG_MIPS_FP_SUPPORT=n (diff)
downloadlinux-9ec55930e023a18dfc7cca60afdd8c9f9da54f3e.tar.gz
linux-9ec55930e023a18dfc7cca60afdd8c9f9da54f3e.zip
MIPS: Stub asm/fpu.h functions
Provide stub versions of functions in asm/fpu.h when CONFIG_MIPS_FP_SUPPORT=n. Two approaches are taken to the functions provided: - Functions which can safely be called when FP is not enabled provide stubs which return an error where appropriate or are simple no-ops. - Functions which should only ever be called in cases where cpu_has_fpu is true or the FPU was successfully enabled are declared extern & annotated with __compiletime_error() to detect cases in which they are called incorrectly. Signed-off-by: Paul Burton <paul.burton@mips.com> Patchwork: https://patchwork.linux-mips.org/patch/21006/ Cc: linux-mips@linux-mips.org
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions