diff options
| author | Takashi Iwai <tiwai@suse.de> | 2010-01-19 09:53:43 -0500 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2010-01-19 09:53:43 -0500 |
| commit | 9e4c84967ef027fe50a03cf48dd6da9519c8e60c (patch) | |
| tree | 21d6b8168670f22521f3bb703e3b9d1932566c1c /arch/arm/include/asm/ptrace.h | |
| parent | d2f2fcd2541bae004db7f4798ffd9d2cb75ae817 (diff) | |
| parent | 3fb4a508b8e7957aa899f32cd6d9d462e102c7ca (diff) | |
Merge branch 'fix/hda' into topic/hda
Conflicts:
sound/pci/hda/patch_realtek.c
Diffstat (limited to 'arch/arm/include/asm/ptrace.h')
| -rw-r--r-- | arch/arm/include/asm/ptrace.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/ptrace.h b/arch/arm/include/asm/ptrace.h index bbecccda76d0..eec6e897ceb2 100644 --- a/arch/arm/include/asm/ptrace.h +++ b/arch/arm/include/asm/ptrace.h | |||
| @@ -97,9 +97,15 @@ | |||
| 97 | * stack during a system call. Note that sizeof(struct pt_regs) | 97 | * stack during a system call. Note that sizeof(struct pt_regs) |
| 98 | * has to be a multiple of 8. | 98 | * has to be a multiple of 8. |
| 99 | */ | 99 | */ |
| 100 | #ifndef __KERNEL__ | ||
| 100 | struct pt_regs { | 101 | struct pt_regs { |
| 101 | long uregs[18]; | 102 | long uregs[18]; |
| 102 | }; | 103 | }; |
| 104 | #else /* __KERNEL__ */ | ||
| 105 | struct pt_regs { | ||
| 106 | unsigned long uregs[18]; | ||
| 107 | }; | ||
| 108 | #endif /* __KERNEL__ */ | ||
| 103 | 109 | ||
| 104 | #define ARM_cpsr uregs[16] | 110 | #define ARM_cpsr uregs[16] |
| 105 | #define ARM_pc uregs[15] | 111 | #define ARM_pc uregs[15] |
