15cd27208SKumar Gala #include <linux/types.h> 25cd27208SKumar Gala #include <linux/errno.h> 35cd27208SKumar Gala #include <asm/uaccess.h> 45cd27208SKumar Gala 5*d2b194edSKumar Gala #include <asm/sfp-machine.h> 6*d2b194edSKumar Gala #include <math-emu/soft-fp.h> 75cd27208SKumar Gala 85cd27208SKumar Gala int 95cd27208SKumar Gala mtfsb0(int crbD) 105cd27208SKumar Gala { 115cd27208SKumar Gala if ((crbD != 1) && (crbD != 2)) 125cd27208SKumar Gala __FPU_FPSCR &= ~(1 << (31 - crbD)); 135cd27208SKumar Gala 145cd27208SKumar Gala #ifdef DEBUG 15e48b1b45SHarvey Harrison printk("%s: %d %08lx\n", __func__, crbD, __FPU_FPSCR); 165cd27208SKumar Gala #endif 175cd27208SKumar Gala 185cd27208SKumar Gala return 0; 195cd27208SKumar Gala } 20