aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux-2.6.38
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-05-04 20:28:24 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-05-04 20:28:24 +0200
commitecee5a41d26efafad5a5f889e280e3bd7016911c (patch)
tree2df2e8b9c7df2e14be5ec08fe28faca6339c4cae /recipes/linux/linux-2.6.38
parentcd15fbacb67561a86522e1539037082e42de1801 (diff)
downloadopenembedded-ecee5a41d26efafad5a5f889e280e3bd7016911c.tar.gz
linux: bump version to .5 and fix x86_32 compilation
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'recipes/linux/linux-2.6.38')
-rw-r--r--recipes/linux/linux-2.6.38/x86_32-syscall_trace-asmregparm.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes/linux/linux-2.6.38/x86_32-syscall_trace-asmregparm.patch b/recipes/linux/linux-2.6.38/x86_32-syscall_trace-asmregparm.patch
new file mode 100644
index 0000000000..2b51e2d7f3
--- /dev/null
+++ b/recipes/linux/linux-2.6.38/x86_32-syscall_trace-asmregparm.patch
@@ -0,0 +1,21 @@
+--- /scratch/obj.x86_64/oe/build/tmp/work/qemux86-oe-linux-uclibc/linux-2.6.38-r4/linux-2.6.38/arch/x86/include/asm/ptrace.h.old 2011-03-15 02:20:32.000000000 +0100
++++ /scratch/obj.x86_64/oe/build/tmp/work/qemux86-oe-linux-uclibc/linux-2.6.38-r4/linux-2.6.38/arch/x86/include/asm/ptrace.h 2011-05-04 20:21:37.755073517 +0200
+@@ -130,6 +130,7 @@ struct pt_regs {
+
+ #ifdef __KERNEL__
+
++#include <asm/linkage.h>
+ #include <linux/init.h>
+
+ struct cpuinfo_x86;
+@@ -143,8 +144,8 @@ extern void send_sigtrap(struct task_str
+ int error_code, int si_code);
+ void signal_fault(struct pt_regs *regs, void __user *frame, char *where);
+
+-extern long syscall_trace_enter(struct pt_regs *);
+-extern void syscall_trace_leave(struct pt_regs *);
++extern asmregparm long syscall_trace_enter(struct pt_regs *);
++extern asmregparm void syscall_trace_leave(struct pt_regs *);
+
+ static inline unsigned long regs_return_value(struct pt_regs *regs)
+ {