summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-2.6.30/303-dump_fpu_dummy.patch
blob: 49d9e57f2b087a9f2fd55d6e80e13cf7ac364890 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- 2.9.30.o/arch/rlx/kernel/process.c	2012-10-22 23:11:06.331695156 +0400
+++ 2.9.30.b/arch/rlx/kernel/process.c	2012-10-22 23:11:54.875038224 +0400
@@ -160,6 +160,12 @@
 	do_exit(fn(arg));
 }
 
+int dump_fpu(struct pt_regs *regs, elf_fpregset_t *r)
+{
+	/* Dummy stuff */ 
+	return 1;
+}
+
 long kernel_thread(int (*fn)(void *), void *arg, unsigned long flags)
 {
 	struct pt_regs regs;