Merge remote-tracking branch 'regmap/topic/no-bus' into regmap-next
[deliverable/linux.git] / arch / powerpc / math-emu / mtfsb1.c
CommitLineData
1da177e4
LT
1#include <linux/types.h>
2#include <linux/errno.h>
3#include <asm/uaccess.h>
4
d2b194ed
KG
5#include <asm/sfp-machine.h>
6#include <math-emu/soft-fp.h>
1da177e4
LT
7
8int
9mtfsb1(int crbD)
10{
11 if ((crbD != 1) && (crbD != 2))
12 __FPU_FPSCR |= (1 << (31 - crbD));
13
14#ifdef DEBUG
e48b1b45 15 printk("%s: %d %08lx\n", __func__, crbD, __FPU_FPSCR);
1da177e4
LT
16#endif
17
18 return 0;
19}
This page took 0.585175 seconds and 5 git commands to generate.