summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/entry.S
diff options
context:
space:
mode:
authorChristian Borntraeger2015-07-09 17:56:13 +0200
committerMartin Schwidefsky2015-08-03 10:04:59 +0200
commit888d5e9804bb401f3531b700cc93da0bdf8496bf (patch)
tree350247ba326effad172afdc439be07ec7cf8a377 /arch/s390/kernel/entry.S
parents390/kernel: remove save_fpu_regs() parameter and use __LC_CURRENT instead (diff)
downloadkernel-qcow2-linux-888d5e9804bb401f3531b700cc93da0bdf8496bf.tar.gz
kernel-qcow2-linux-888d5e9804bb401f3531b700cc93da0bdf8496bf.tar.xz
kernel-qcow2-linux-888d5e9804bb401f3531b700cc93da0bdf8496bf.zip
KVM: s390: use pid of cpu thread for sampling tagging
Right now we use the address of the sie control block as tag for the sampling data. This is hard to get for users. Let's just use the PID of the cpu thread to mark the hardware samples. Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/entry.S')
-rw-r--r--arch/s390/kernel/entry.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/entry.S b/arch/s390/kernel/entry.S
index 5a966dea937f..247b7aae4c6d 100644
--- a/arch/s390/kernel/entry.S
+++ b/arch/s390/kernel/entry.S
@@ -199,7 +199,7 @@ ENTRY(sie64a)
jo .Lsie_skip # exit if fp/vx regs changed
tm __LC_MACHINE_FLAGS+6,0x20 # MACHINE_FLAG_LPP
jz .Lsie_enter
- .insn s,0xb2800000,__SF_EMPTY(%r15) # set guest id
+ .insn s,0xb2800000,__LC_CURRENT_PID # set guest id to pid
.Lsie_enter:
sie 0(%r14)
tm __LC_MACHINE_FLAGS+6,0x20 # MACHINE_FLAG_LPP