patch-2.1.80 linux/arch/arm/lib/fp_support.c

Next file: linux/arch/arm/lib/getconsdata.c
Previous file: linux/arch/arm/lib/floppydma.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.79/linux/arch/arm/lib/fp_support.c linux/arch/arm/lib/fp_support.c
@@ -0,0 +1,22 @@
+/*
+ * linux/arch/arm/lib/fp_support.c
+ *
+ * Copyright (C) 1995, 1996 Russell King
+ */
+
+#include <linux/sched.h>
+#include <linux/linkage.h>
+
+extern void (*fp_save)(struct fp_soft_struct *);
+
+asmlinkage void fp_setup(void)
+{
+	struct task_struct *p;
+
+	p = &init_task;
+	do {
+		fp_save(&p->tss.fpstate.soft);
+		p = p->next_task;
+	}
+	while (p != &init_task);
+}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov