aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-05-03 17:24:55 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-05-03 17:24:55 +0900
commit66fdc951720406deb3b0f17094cb16ec623f525d (patch)
tree24f0ea4cc5d563e4e11cb3bdeb0ca86dd28e8cb6 /arch/sh
parentf425752fc66acf1d4e47970ea704ed7d31c14173 (diff)
parent7d27558c4138ac6b3684dea35c2f4379b940a7dd (diff)
downloadkernel_samsung_aries-66fdc951720406deb3b0f17094cb16ec623f525d.zip
kernel_samsung_aries-66fdc951720406deb3b0f17094cb16ec623f525d.tar.gz
kernel_samsung_aries-66fdc951720406deb3b0f17094cb16ec623f525d.tar.bz2
Merge branch 'timers/clocksource' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/include/asm/ptrace.h2
-rw-r--r--arch/sh/kernel/cpu/sh5/entry.S5
2 files changed, 4 insertions, 3 deletions
diff --git a/arch/sh/include/asm/ptrace.h b/arch/sh/include/asm/ptrace.h
index d3f6caa..68e20ff 100644
--- a/arch/sh/include/asm/ptrace.h
+++ b/arch/sh/include/asm/ptrace.h
@@ -9,7 +9,7 @@
struct pt_regs {
unsigned long long pc;
unsigned long long sr;
- unsigned long long syscall_nr;
+ long long syscall_nr;
unsigned long long regs[63];
unsigned long long tregs[8];
unsigned long long pad[2];
diff --git a/arch/sh/kernel/cpu/sh5/entry.S b/arch/sh/kernel/cpu/sh5/entry.S
index e640c63..7e49cb8 100644
--- a/arch/sh/kernel/cpu/sh5/entry.S
+++ b/arch/sh/kernel/cpu/sh5/entry.S
@@ -10,6 +10,7 @@
* for more details.
*/
#include <linux/errno.h>
+#include <linux/init.h>
#include <linux/sys.h>
#include <cpu/registers.h>
#include <asm/processor.h>
@@ -2058,10 +2059,10 @@ asm_uaccess_end:
/*
- * --- .text.init Section
+ * --- .init.text Section
*/
- .section .text.init, "ax"
+ __INIT
/*
* void trap_init (void)