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/head31.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/head31.S')
-rw-r--r-- | arch/s390/kernel/head31.S | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/s390/kernel/head31.S b/arch/s390/kernel/head31.S index 9817c327aab1..4388b3309e0c 100644 --- a/arch/s390/kernel/head31.S +++ b/arch/s390/kernel/head31.S | |||
@@ -177,8 +177,6 @@ startup_continue: | |||
177 | st %r0,4(%r3) # store size of chunk | 177 | st %r0,4(%r3) # store size of chunk |
178 | st %r6,8(%r3) # store type of chunk | 178 | st %r6,8(%r3) # store type of chunk |
179 | la %r3,12(%r3) | 179 | la %r3,12(%r3) |
180 | l %r4,.Lmemsize-.LPG1(%r13) # address of variable memory_size | ||
181 | st %r5,0(%r4) # store last end to memory size | ||
182 | ahi %r10,-1 # update chunk number | 180 | ahi %r10,-1 # update chunk number |
183 | .Lchkloop: | 181 | .Lchkloop: |
184 | lr %r6,%r7 # set access code to last cc | 182 | lr %r6,%r7 # set access code to last cc |
@@ -293,7 +291,6 @@ startup_continue: | |||
293 | .Lpcmvpg:.long 0x00080000,0x80000000 + .Lchkmvpg | 291 | .Lpcmvpg:.long 0x00080000,0x80000000 + .Lchkmvpg |
294 | .Lpcidte:.long 0x00080000,0x80000000 + .Lchkidte | 292 | .Lpcidte:.long 0x00080000,0x80000000 + .Lchkidte |
295 | .Lpcdiag9c:.long 0x00080000,0x80000000 + .Lchkdiag9c | 293 | .Lpcdiag9c:.long 0x00080000,0x80000000 + .Lchkdiag9c |
296 | .Lmemsize:.long memory_size | ||
297 | .Lmchunk:.long memory_chunk | 294 | .Lmchunk:.long memory_chunk |
298 | .Lmflags:.long machine_flags | 295 | .Lmflags:.long machine_flags |
299 | .Lbss_bgn: .long __bss_start | 296 | .Lbss_bgn: .long __bss_start |