diff options
author | Tony Luck <tony.luck@intel.com> | 2010-02-08 10:42:17 -0800 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2010-02-08 10:42:17 -0800 |
commit | 32974ad4907cdde6c9de612cd1b2ee0568fb9409 (patch) | |
tree | 46d883f7f4fb3f4a5cee8ec9eb2c6b4939d7ae10 /arch/ia64/kernel/ptrace.c | |
parent | 6339204ecc2aa2067a99595522de0403f0854bb8 (diff) | |
download | linux-32974ad4907cdde6c9de612cd1b2ee0568fb9409.tar.bz2 |
[IA64] Remove COMPAT_IA32 support
This has been broken since May 2008 when Al Viro killed altroot support.
Since nobody has complained, it would appear that there are no users of
this code (A plausible theory since the main OSVs that support ia64 prefer
to use the IA32-EL software emulation).
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/ptrace.c')
-rw-r--r-- | arch/ia64/kernel/ptrace.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/arch/ia64/kernel/ptrace.c b/arch/ia64/kernel/ptrace.c index 9daa87fdb018..b61afbbe076f 100644 --- a/arch/ia64/kernel/ptrace.c +++ b/arch/ia64/kernel/ptrace.c @@ -1250,13 +1250,8 @@ syscall_trace_enter (long arg0, long arg1, long arg2, long arg3, long syscall; int arch; - if (IS_IA32_PROCESS(®s)) { - syscall = regs.r1; - arch = AUDIT_ARCH_I386; - } else { - syscall = regs.r15; - arch = AUDIT_ARCH_IA64; - } + syscall = regs.r15; + arch = AUDIT_ARCH_IA64; audit_syscall_entry(arch, syscall, arg0, arg1, arg2, arg3); } @@ -2172,11 +2167,6 @@ static const struct user_regset_view user_ia64_view = { const struct user_regset_view *task_user_regset_view(struct task_struct *tsk) { -#ifdef CONFIG_IA32_SUPPORT - extern const struct user_regset_view user_ia32_view; - if (IS_IA32_PROCESS(task_pt_regs(tsk))) - return &user_ia32_view; -#endif return &user_ia64_view; } |