Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
arch
powerpc
math-emu
mtfsb0.c
Go to the documentation of this file.
1
#include <linux/types.h>
2
#include <linux/errno.h>
3
#include <asm/uaccess.h>
4
5
#include <asm/sfp-machine.h>
6
#include <
math-emu/soft-fp.h
>
7
8
int
9
mtfsb0
(
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
}
Generated on Thu Jan 10 2013 13:14:23 for Linux Kernel by
1.8.2