Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340339
b: refs/heads/master
c: f01acea
h: refs/heads/master
i:
  340337: 7dd9552
  340335: 8336338
v: v3
  • Loading branch information
Al Viro committed Nov 29, 2012
1 parent 3b75d5c commit 0687550
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 53 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: 0ad9513d0f81584c25f3fc7ff582c382cc1a93f7
refs/heads/master: f01aceac61ad5cc9ea463f6bb185c1f72702357f
1 change: 1 addition & 0 deletions trunk/arch/hexagon/include/uapi/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@

#define sys_mmap2 sys_mmap_pgoff
#define __ARCH_WANT_SYS_EXECVE
#define __ARCH_WANT_SYS_CLONE

#include <asm-generic/unistd.h>
3 changes: 1 addition & 2 deletions trunk/arch/hexagon/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ extra-y := head.o vmlinux.lds
obj-$(CONFIG_SMP) += smp.o topology.o

obj-y += setup.o irq_cpu.o traps.o syscalltab.o signal.o time.o
obj-y += process.o syscall.o trampoline.o reset.o ptrace.o
obj-y += vdso.o
obj-y += process.o trampoline.o reset.o ptrace.o vdso.o

obj-$(CONFIG_KGDB) += kgdb.o
obj-$(CONFIG_MODULES) += module.o hexagon_ksyms.o
Expand Down
7 changes: 4 additions & 3 deletions trunk/arch/hexagon/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ unsigned long thread_saved_pc(struct task_struct *tsk)
*/
int copy_thread(unsigned long clone_flags, unsigned long usp,
unsigned long arg, struct task_struct *p,
struct pt_regs *regs)
struct pt_regs *unused)
{
struct thread_info *ti = task_thread_info(p);
struct hexagon_switch_stack *ss;
Expand Down Expand Up @@ -117,10 +117,11 @@ int copy_thread(unsigned long clone_flags, unsigned long usp,
pt_set_kmode(childregs);
return 0;
}
memcpy(childregs, regs, sizeof(*childregs));
memcpy(childregs, current_pt_regs(), sizeof(*childregs));
ss->r2524 = 0;

pt_set_rte_sp(childregs, usp);
if (usp)
pt_set_rte_sp(childregs, usp);

/* Child sees zero return value */
childregs->r00 = 0;
Expand Down
47 changes: 0 additions & 47 deletions trunk/arch/hexagon/kernel/syscall.c

This file was deleted.

0 comments on commit 0687550

Please sign in to comment.