mtfsb0.c (96916090f488986a4ebb8e9ffa6a3b50881d5ccd) mtfsb0.c (d2b194ed820880eb19c43b9c10d9f5f30026ee54)
1#include <linux/types.h>
2#include <linux/errno.h>
3#include <asm/uaccess.h>
4
1#include <linux/types.h>
2#include <linux/errno.h>
3#include <asm/uaccess.h>
4
5#include "soft-fp.h"
5#include <asm/sfp-machine.h>
6#include <math-emu/soft-fp.h>
6
7int
8mtfsb0(int crbD)
9{
10 if ((crbD != 1) && (crbD != 2))
11 __FPU_FPSCR &= ~(1 << (31 - crbD));
12
13#ifdef DEBUG
14 printk("%s: %d %08lx\n", __func__, crbD, __FPU_FPSCR);
15#endif
16
17 return 0;
18}
7
8int
9mtfsb0(int crbD)
10{
11 if ((crbD != 1) && (crbD != 2))
12 __FPU_FPSCR &= ~(1 << (31 - crbD));
13
14#ifdef DEBUG
15 printk("%s: %d %08lx\n", __func__, crbD, __FPU_FPSCR);
16#endif
17
18 return 0;
19}