~ubuntu-branches/ubuntu/precise/linux-lowlatency/precise

« back to all changes in this revision

Viewing changes to arch/sh/include/asm/ptrace_64.h

  • Committer: Package Import Robot
  • Author(s): Alessio Igor Bogani
  • Date: 2011-10-26 11:13:05 UTC
  • Revision ID: package-import@ubuntu.com-20111026111305-tz023xykf0i6eosh
Tags: upstream-3.2.0
ImportĀ upstreamĀ versionĀ 3.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __ASM_SH_PTRACE_64_H
 
2
#define __ASM_SH_PTRACE_64_H
 
3
 
 
4
struct pt_regs {
 
5
        unsigned long long pc;
 
6
        unsigned long long sr;
 
7
        long long syscall_nr;
 
8
        unsigned long long regs[63];
 
9
        unsigned long long tregs[8];
 
10
        unsigned long long pad[2];
 
11
};
 
12
 
 
13
#ifdef __KERNEL__
 
14
 
 
15
#define MAX_REG_OFFSET          offsetof(struct pt_regs, tregs[7])
 
16
#define regs_return_value(_regs)        ((_regs)->regs[3])
 
17
 
 
18
#endif /* __KERNEL__ */
 
19
 
 
20
#endif /* __ASM_SH_PTRACE_64_H */