fs/reiserfs/journal.c: change return type of dirty_one_transaction
[linux/fpc-iii.git] / arch / nds32 / math-emu / fsi2d.c
blob6b04cec0c5c54ee089ff124d10098f7ce61e0ad0
1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2005-2019 Andes Technology Corporation
3 #include <linux/uaccess.h>
5 #include <asm/sfp-machine.h>
6 #include <math-emu/soft-fp.h>
7 #include <math-emu/double.h>
9 void fsi2d(void *ft, void *fa)
11 int a = *(int *)fa;
13 FP_DECL_D(R);
14 FP_DECL_EX;
16 FP_FROM_INT_D(R, a, 32, int);
18 FP_PACK_DP(ft, R);
20 __FPU_FPCSR |= FP_CUR_EXCEPTIONS;