15cd27208SKumar Gala #include <linux/types.h> 25cd27208SKumar Gala #include <linux/errno.h> 35cd27208SKumar Gala #include <asm/uaccess.h> 45cd27208SKumar Gala 55cd27208SKumar Gala #include "soft-fp.h" 65cd27208SKumar Gala 75cd27208SKumar Gala int 85cd27208SKumar Gala mtfsb1(int crbD) 95cd27208SKumar Gala { 105cd27208SKumar Gala if ((crbD != 1) && (crbD != 2)) 115cd27208SKumar Gala __FPU_FPSCR |= (1 << (31 - crbD)); 125cd27208SKumar Gala 135cd27208SKumar Gala #ifdef DEBUG 14*e48b1b45SHarvey Harrison printk("%s: %d %08lx\n", __func__, crbD, __FPU_FPSCR); 155cd27208SKumar Gala #endif 165cd27208SKumar Gala 175cd27208SKumar Gala return 0; 185cd27208SKumar Gala } 19