|
|
| File: [Development] / linux-2.6-xfs / arch / powerpc / math-emu / mtfsb0.c (download)
Revision 1.2, Mon Aug 4 17:03:13 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Merge up to 2.6.26 Merge of 2.6.x-xfs-melb:linux:31804b by kenmcd. |
#include <linux/types.h>
#include <linux/errno.h>
#include <asm/uaccess.h>
#include "soft-fp.h"
int
mtfsb0(int crbD)
{
if ((crbD != 1) && (crbD != 2))
__FPU_FPSCR &= ~(1 << (31 - crbD));
#ifdef DEBUG
printk("%s: %d %08lx\n", __func__, crbD, __FPU_FPSCR);
#endif
return 0;
}