summaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2015-10-23 09:05:38 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-11-27 09:24:14 +0100
commitf08b8414632c9f256e33f0a18104d8d5e103d204 (patch)
tree73f9391c6aed216a5f064467e9b4874bd84ce326 /drivers/s390
parentd9a3a09af54d01ab8b0c320580f4f95328d4a7ac (diff)
downloadblackbird-op-linux-f08b8414632c9f256e33f0a18104d8d5e103d204.tar.gz
blackbird-op-linux-f08b8414632c9f256e33f0a18104d8d5e103d204.zip
s390/dump: remove SAVE_AREA_BASE
Replace the SAVE_AREA_BASE offset calculations in reipl.S with the assembler constant for the location of each register status area. Use __LC_FPREGS_SAVE_AREA instead of SAVE_AREA_BASE in the three remaining code locations and remove the definition of SAVE_AREA_BASE. Acked-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/char/zcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/char/zcore.c b/drivers/s390/char/zcore.c
index 7d94c696c38b..087da775c359 100644
--- a/drivers/s390/char/zcore.c
+++ b/drivers/s390/char/zcore.c
@@ -124,7 +124,7 @@ static int __init init_cpu_info(void)
sa_ext = dump_save_areas.areas[0];
if (!sa_ext)
return -ENOMEM;
- if (memcpy_hsa_kernel(&sa_ext->sa, SAVE_AREA_BASE,
+ if (memcpy_hsa_kernel(&sa_ext->sa, __LC_FPREGS_SAVE_AREA,
sizeof(struct save_area)) < 0) {
TRACE("could not copy from HSA\n");
return -EIO;
OpenPOWER on IntegriCloud