Merge tag 'chrome-platform-for-linus-4.13' of git://git.kernel.org/pub/scm/linux...
[linux/fpc-iii.git] / arch / powerpc / math-emu / mtfsb0.c
blob5ed3e7d5063e0bfe32ad4f10b6a6ada84f9b93cc
1 #include <linux/types.h>
2 #include <linux/errno.h>
3 #include <linux/uaccess.h>
5 #include <asm/sfp-machine.h>
6 #include <math-emu/soft-fp.h>
8 int
9 mtfsb0(int crbD)
11 if ((crbD != 1) && (crbD != 2))
12 __FPU_FPSCR &= ~(1 << (31 - crbD));
14 #ifdef DEBUG
15 printk("%s: %d %08lx\n", __func__, crbD, __FPU_FPSCR);
16 #endif
18 return 0;