aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/kernel/pm.c
diff options
context:
space:
mode:
authorPaul Burton2018-11-07 23:14:04 +0000
committerPaul Burton2018-11-09 10:23:15 -0800
commit9ec55930e023a18dfc7cca60afdd8c9f9da54f3e (patch)
tree2f1bc66662c255717132ced7f9e288fc328f01ed /arch/mips/kernel/pm.c
parentb372e83b67eb296d85654e2dde8a0e6105083b16 (diff)
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 'arch/mips/kernel/pm.c')
0 files changed, 0 insertions, 0 deletions