Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120115
b: refs/heads/master
c: d7b01f7
h: refs/heads/master
i:
  120113: c1ed461
  120111: 055dbb7
v: v3
  • Loading branch information
Paul Mundt committed Dec 22, 2008
1 parent 501c68a commit 6eecfd6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dd76279b47dce2c0bd7c54997938ec4cb9f16884
refs/heads/master: d7b01f78a3ae6a3cc21a16a1a3d377adc2227537
2 changes: 1 addition & 1 deletion trunk/arch/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ config SUPERH
select HAVE_OPROFILE
select HAVE_GENERIC_DMA_COHERENT
select HAVE_IOREMAP_PROT if MMU
select HAVE_ARCH_TRACEHOOK
help
The SuperH is a RISC processor targeted for use in embedded systems
and consumer electronics; it was also used in the Sega Dreamcast
Expand All @@ -23,7 +24,6 @@ config SUPERH32
def_bool !SUPERH64
select HAVE_KPROBES
select HAVE_KRETPROBES
select HAVE_ARCH_TRACEHOOK
select HAVE_FUNCTION_TRACER
select HAVE_FTRACE_MCOUNT_RECORD
select HAVE_DYNAMIC_FTRACE
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/sh/include/asm/processor_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ extern unsigned long get_wchan(struct task_struct *p);
#define KSTK_EIP(tsk) ((tsk)->thread.pc)
#define KSTK_ESP(tsk) ((tsk)->thread.sp)

#define user_stack_pointer(regs) ((regs)->sp)
#define user_stack_pointer(regs) ((regs)->regs[15])

#endif /* __ASSEMBLY__ */
#endif /* __ASM_SH_PROCESSOR_64_H */
4 changes: 2 additions & 2 deletions trunk/arch/sh/include/asm/syscall_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ static inline void syscall_get_arguments(struct task_struct *task,
unsigned long *args)
{
BUG_ON(i + n > 6);
memcpy(args, &regs->reg[2 + i], n * sizeof(args[0]));
memcpy(args, &regs->regs[2 + i], n * sizeof(args[0]));
}

static inline void syscall_set_arguments(struct task_struct *task,
Expand All @@ -74,7 +74,7 @@ static inline void syscall_set_arguments(struct task_struct *task,
const unsigned long *args)
{
BUG_ON(i + n > 6);
memcpy(&regs->reg[2 + i], args, n * sizeof(args[0]));
memcpy(&regs->regs[2 + i], args, n * sizeof(args[0]));
}

#endif /* __ASM_SH_SYSCALL_64_H */

0 comments on commit 6eecfd6

Please sign in to comment.