summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2012-11-21 00:59:50 +0200
committerRoman Yeryomin <roman@advem.lv>2013-05-26 00:46:39 +0300
commit4396286f03b85c3b9994537427d50afb25817087 (patch)
tree1067a3747410255347d1099ba0a4eeb60e0b1c32 /target/linux
parent085b474e793e39a661dd466ceef6bd656f94ff31 (diff)
Add target/linux/realtek/patches-2.6.30/303-dump_fpu_dummy.patch. Closes #5.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux')
-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;