Release 4.7 arch/s390/include/asm/fpu/api.h
/*
* In-kernel FPU support functions
*
* Copyright IBM Corp. 2015
* Author(s): Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
*/
#ifndef _ASM_S390_FPU_API_H
#define _ASM_S390_FPU_API_H
void save_fpu_regs(void);
static inline int test_fp_ctl(u32 fpc)
{
u32 orig_fpc;
int rc;
asm volatile(
" efpc %1\n"
" sfpc %2\n"
"0: sfpc %1\n"
" la %0,0\n"
"1:\n"
EX_TABLE(0b,1b)
: "=d" (rc), "=&d" (orig_fpc)
: "d" (fpc), "0" (-EINVAL));
return rc;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
| hendrik brueckner | hendrik brueckner | 21 | 95.45% | 1 | 50.00% |
| martin schwidefsky | martin schwidefsky | 1 | 4.55% | 1 | 50.00% |
| Total | 22 | 100.00% | 2 | 100.00% |
#endif /* _ASM_S390_FPU_API_H */
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
| hendrik brueckner | hendrik brueckner | 37 | 97.37% | 1 | 50.00% |
| martin schwidefsky | martin schwidefsky | 1 | 2.63% | 1 | 50.00% |
| Total | 38 | 100.00% | 2 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.