| * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) |
| #include <linux/stddef.h> |
| #include <linux/module.h> |
| #include <linux/ptrace.h> |
| #include <asm/processor.h> |
| arch_flush_thread(¤t->thread.arch); |
| ret = unmap(¤t->mm->context.id, 0, STUB_START, 0, &data); |
| ret = ret || unmap(¤t->mm->context.id, STUB_END, |
| host_task_size - STUB_END, 1, &data); |
| printk(KERN_ERR "flush_thread - clearing address space failed, " |
| force_sig(SIGKILL, current); |
| __switch_mm(¤t->mm->context.id); |
| void start_thread(struct pt_regs *regs, unsigned long eip, unsigned long esp) |
| get_safe_registers(regs->regs.gp, regs->regs.fp); |
| current->ptrace &= ~PT_DTRACE; |
| SUBARCH_EXECVE1(regs->regs); |
| EXPORT_SYMBOL(start_thread); |