summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/crash_dump.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2015-12-31 10:29:00 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-01-11 12:27:15 +0100
commitc667aeacc16e0de9e205faa93f57121d6f691973 (patch)
treedcba3eec1ed25581dd8a6c30235a3ce69336f3aa /arch/s390/kernel/crash_dump.c
parents390/mem_detect: use unsigned longs (diff)
downloadlinux-c667aeacc16e0de9e205faa93f57121d6f691973.tar.xz
linux-c667aeacc16e0de9e205faa93f57121d6f691973.zip
s390: rename struct _lowcore to struct lowcore
Finally get rid of the leading underscore. I tried this already two or three years ago, however Michael Holzheu objected since this would break the crash utility (again). However Michael integrated support for the new name into the crash utility back then, so it doesn't break if the name will be changed now. So finally get rid of the ever confusing leading underscore. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/crash_dump.c')
-rw-r--r--arch/s390/kernel/crash_dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/kernel/crash_dump.c b/arch/s390/kernel/crash_dump.c
index 823ed6ab53c8..a92b39fd0e63 100644
--- a/arch/s390/kernel/crash_dump.c
+++ b/arch/s390/kernel/crash_dump.c
@@ -83,9 +83,9 @@ struct save_area * __init save_area_boot_cpu(void)
*/
void __init save_area_add_regs(struct save_area *sa, void *regs)
{
- struct _lowcore *lc;
+ struct lowcore *lc;
- lc = (struct _lowcore *)(regs - __LC_FPREGS_SAVE_AREA);
+ lc = (struct lowcore *)(regs - __LC_FPREGS_SAVE_AREA);
memcpy(&sa->psw, &lc->psw_save_area, sizeof(sa->psw));
memcpy(&sa->ctrs, &lc->cregs_save_area, sizeof(sa->ctrs));
memcpy(&sa->gprs, &lc->gpregs_save_area, sizeof(sa->gprs));