aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel
diff options
context:
space:
mode:
authorShaohua Li <shaohua.li@intel.com>2008-02-28 03:09:33 -0500
committerTony Luck <tony.luck@intel.com>2008-03-12 19:27:03 -0400
commit75529219373e53042fc46c86d991125e616f42dd (patch)
tree72c3e11a53d3ffb4106100b8e0c154fcb21073a3 /arch/ia64/kernel
parentc70f8f68676866d778564de337bec6b8734c3850 (diff)
[IA64] regset: 32-bit support
This is the 32-bit regset implementation under IA64. Basically register read/write, which is derived from current ptrace register read/write. This version added TLS support. Signed-off-by: Shaohua Li <shaohua.li@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel')
-rw-r--r--arch/ia64/kernel/ptrace.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/ia64/kernel/ptrace.c b/arch/ia64/kernel/ptrace.c
index 7136c7811efc..4c104170ca4d 100644
--- a/arch/ia64/kernel/ptrace.c
+++ b/arch/ia64/kernel/ptrace.c
@@ -2314,5 +2314,10 @@ static const struct user_regset_view user_ia64_view = {
2314 2314
2315const struct user_regset_view *task_user_regset_view(struct task_struct *tsk) 2315const struct user_regset_view *task_user_regset_view(struct task_struct *tsk)
2316{ 2316{
2317#ifdef CONFIG_IA32_SUPPORT
2318 extern const struct user_regset_view user_ia32_view;
2319 if (IS_IA32_PROCESS(task_pt_regs(tsk)))
2320 return &user_ia32_view;
2321#endif
2317 return &user_ia64_view; 2322 return &user_ia64_view;
2318} 2323}