summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/traps.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2010-10-25 16:10:41 +0200
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2010-10-25 16:10:20 +0200
commitba6cadfebc18f786ef4e60e9ff03f9656ce3d584 (patch)
tree9e606198947762e077035676ee6f1099bb8fa7d1 /arch/s390/kernel/traps.c
parentbaa071588c3ffcc1a8721faf9337140e85d34bf6 (diff)
downloadop-kernel-dev-ba6cadfebc18f786ef4e60e9ff03f9656ce3d584.zip
op-kernel-dev-ba6cadfebc18f786ef4e60e9ff03f9656ce3d584.tar.gz
[S390] remove ieee_instruction_pointer from thread_struct
The ieee_instruction_pointer can not be read from user space anymore since git commit 613e1def6b52c399a8b72a5e11bc2e57d2546fb8, the ptrace interface always returns zero. Remove it from the thread_struct. It is still present in the user_regs_struct for compatability reasons. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/traps.c')
-rw-r--r--arch/s390/kernel/traps.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/s390/kernel/traps.c b/arch/s390/kernel/traps.c
index e9b063e..7064082 100644
--- a/arch/s390/kernel/traps.c
+++ b/arch/s390/kernel/traps.c
@@ -447,7 +447,6 @@ static inline void do_fp_trap(struct pt_regs *regs, void __user *location,
else if (fpc & 0x0800) /* inexact */
si.si_code = FPE_FLTRES;
}
- current->thread.ieee_instruction_pointer = (addr_t) location;
do_trap(pgm_int_code, SIGFPE,
"floating point exception", regs, &si);
}
OpenPOWER on IntegriCloud