diff options
author | Sven Schnelle <svens@linux.ibm.com> | 2021-05-10 21:10:18 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2021-06-07 17:07:01 +0200 |
commit | 0a500447b847f87b06ae814253376d983ef98e04 (patch) | |
tree | 2ccda1bf3da87d7fbcf33641f9ae666e001f5152 /drivers/s390 | |
parent | s390: add struct tpi_info to struct pt_regs (diff) | |
download | linux-0a500447b847f87b06ae814253376d983ef98e04.tar.xz linux-0a500447b847f87b06ae814253376d983ef98e04.zip |
s390: use struct tpi_info in lowcore.h
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/cio/trace.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/s390/cio/trace.h b/drivers/s390/cio/trace.h index 4803139bce14..86993de25345 100644 --- a/drivers/s390/cio/trace.h +++ b/drivers/s390/cio/trace.h @@ -168,10 +168,8 @@ TRACE_EVENT(s390_cio_tpi, memset(&__entry->tpi_info, 0, sizeof(struct tpi_info)); else if (addr) __entry->tpi_info = *addr; - else { - memcpy(&__entry->tpi_info, &S390_lowcore.subchannel_id, - sizeof(struct tpi_info)); - } + else + __entry->tpi_info = S390_lowcore.tpi_info; __entry->cssid = __entry->tpi_info.schid.cssid; __entry->ssid = __entry->tpi_info.schid.ssid; __entry->schno = __entry->tpi_info.schid.sch_no; |