summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2012-11-21 00:59:50 +0200
committerRoman Yeryomin <roman@advem.lv>2012-12-03 00:13:26 +0200
commitde4cda674279365ee0a04cea646e49591b040938 (patch)
treec93a7ebf0433895fa7192f37c2ec5f993924ed97
parent8deb71b6cf428a881b29e0de3bc17d24f6c0ec43 (diff)
Add target/linux/realtek/patches-2.6.30/303-dump_fpu_dummy.patch. Closes #5.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
-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;