diff options
author | Paul Burton <paul.burton@mips.com> | 2018-11-07 23:14:04 +0000 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2018-11-09 10:23:15 -0800 |
commit | 9ec55930e023a18dfc7cca60afdd8c9f9da54f3e (patch) | |
tree | 2f1bc66662c255717132ced7f9e288fc328f01ed /crypto/sm3_generic.c | |
parent | b372e83b67eb296d85654e2dde8a0e6105083b16 (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 'crypto/sm3_generic.c')
0 files changed, 0 insertions, 0 deletions