summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/head64.S
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2006-12-04 15:40:56 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2006-12-04 15:40:56 +0100
commit8b62bc9642300471737bc3b77b2a4a2ead46dedb (patch)
tree0e510eac55df04ad244b74149c1fd7b8cc75e5e4 /arch/s390/kernel/head64.S
parentce26a8532fd062ccd3f3c589a4be269a2dc20f00 (diff)
downloadtalos-op-linux-8b62bc9642300471737bc3b77b2a4a2ead46dedb.tar.gz
talos-op-linux-8b62bc9642300471737bc3b77b2a4a2ead46dedb.zip
[S390] Memory detection fixes.
VMALLOC_END on 31bit should be 0x8000000UL instead of 0x7fffffffL. The page mask which is used to make sure memory_end is on 4MB/2MB boundary is wrong and not needed. Therefore remove it. Make sure a vmalloc area does also exist and work on (future) machines with 4TB and more memory. 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/head64.S')
-rw-r--r--arch/s390/kernel/head64.S4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/s390/kernel/head64.S b/arch/s390/kernel/head64.S
index cc6dbc57eb90..c526279e1123 100644
--- a/arch/s390/kernel/head64.S
+++ b/arch/s390/kernel/head64.S
@@ -81,8 +81,6 @@ startup_continue:
aghi %r1,1 # size is one more than end
larl %r2,memory_chunk
stg %r1,8(%r2) # store size of chunk
- larl %r2,memory_size
- stg %r1,0(%r2) # set memory size
j .Ldonemem
.Lslowmemdetect:
@@ -188,8 +186,6 @@ startup_continue:
stg %r0,8(%r3) # store size of chunk
st %r6,20(%r3) # store type of chunk
la %r3,24(%r3)
- larl %r8,memory_size
- stg %r5,0(%r8) # store memory size
ahi %r10,-1 # update chunk number
.Lchkloop:
lr %r6,%r7 # set access code to last cc
OpenPOWER on IntegriCloud