aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/um/shared/sysdep/ptrace.h
blob: 2bbe1ec2d96ab1a4d8ae8ab540eae7f9360c2db4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __SYSDEP_X86_PTRACE_H
#define __SYSDEP_X86_PTRACE_H

#ifdef __i386__
#include "ptrace_32.h"
#else
#include "ptrace_64.h"
#endif

static inline long regs_return_value(struct uml_pt_regs *regs)
{
	return UPT_SYSCALL_RET(regs);
}

#endif /* __SYSDEP_X86_PTRACE_H */