diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2006-12-04 09:40:56 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-12-04 09:40:56 -0500 |
commit | 8b62bc9642300471737bc3b77b2a4a2ead46dedb (patch) | |
tree | 0e510eac55df04ad244b74149c1fd7b8cc75e5e4 /arch/s390/kernel/head64.S | |
parent | ce26a8532fd062ccd3f3c589a4be269a2dc20f00 (diff) |
[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.S | 4 |
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: | |||
81 | aghi %r1,1 # size is one more than end | 81 | aghi %r1,1 # size is one more than end |
82 | larl %r2,memory_chunk | 82 | larl %r2,memory_chunk |
83 | stg %r1,8(%r2) # store size of chunk | 83 | stg %r1,8(%r2) # store size of chunk |
84 | larl %r2,memory_size | ||
85 | stg %r1,0(%r2) # set memory size | ||
86 | j .Ldonemem | 84 | j .Ldonemem |
87 | 85 | ||
88 | .Lslowmemdetect: | 86 | .Lslowmemdetect: |
@@ -188,8 +186,6 @@ startup_continue: | |||
188 | stg %r0,8(%r3) # store size of chunk | 186 | stg %r0,8(%r3) # store size of chunk |
189 | st %r6,20(%r3) # store type of chunk | 187 | st %r6,20(%r3) # store type of chunk |
190 | la %r3,24(%r3) | 188 | la %r3,24(%r3) |
191 | larl %r8,memory_size | ||
192 | stg %r5,0(%r8) # store memory size | ||
193 | ahi %r10,-1 # update chunk number | 189 | ahi %r10,-1 # update chunk number |
194 | .Lchkloop: | 190 | .Lchkloop: |
195 | lr %r6,%r7 # set access code to last cc | 191 | lr %r6,%r7 # set access code to last cc |