summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/realtek/patches-2.6.30/303-dump_fpu_dummy.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-2.6.30/303-dump_fpu_dummy.patch b/target/linux/realtek/patches-2.6.30/303-dump_fpu_dummy.patch
new file mode 100644
index 000000000..49d9e57f2
--- /dev/null
+++ b/target/linux/realtek/patches-2.6.30/303-dump_fpu_dummy.patch
@@ -0,0 +1,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;