Staging
v0.5.2
https://github.com/torvalds/linux
Raw File
Tip revision: 64f1607ffbbc772685733ea63e6f7f4183df1b16 authored by Linus Torvalds on 13 August 2009, 22:43:34 UTC
Linux 2.6.31-rc6
Tip revision: 64f1607
mtfsb0.c
#include <linux/types.h>
#include <linux/errno.h>
#include <asm/uaccess.h>

#include <asm/sfp-machine.h>
#include <math-emu/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;
}
back to top