[BACK]Return to fmr.c CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / arch / powerpc / math-emu

File: [Development] / linux-2.6-xfs / arch / powerpc / math-emu / fmr.c (download)

Revision 1.2, Mon Aug 4 17:03:13 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines

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>

int
fmr(u32 *frD, u32 *frB)
{
	frD[0] = frB[0];
	frD[1] = frB[1];

#ifdef DEBUG
	printk("%s: D %p, B %p: ", __func__, frD, frB);
	dump_double(frD);
	printk("\n");
#endif

	return 0;
}