From de4cda674279365ee0a04cea646e49591b040938 Mon Sep 17 00:00:00 2001 From: Roman Yeryomin Date: Wed, 21 Nov 2012 00:59:50 +0200 Subject: Add target/linux/realtek/patches-2.6.30/303-dump_fpu_dummy.patch. Closes #5. Signed-off-by: Roman Yeryomin --- .../linux/realtek/patches-2.6.30/303-dump_fpu_dummy.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 target/linux/realtek/patches-2.6.30/303-dump_fpu_dummy.patch (limited to 'target/linux/realtek') 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; -- cgit v1.2.3