diff options
Diffstat (limited to 'arch/s390/kernel/setup.c')
-rw-r--r-- | arch/s390/kernel/setup.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index 766c783bd7a7..29ae165d1749 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c | |||
@@ -77,7 +77,7 @@ unsigned long machine_flags = 0; | |||
77 | unsigned long elf_hwcap = 0; | 77 | unsigned long elf_hwcap = 0; |
78 | char elf_platform[ELF_PLATFORM_SIZE]; | 78 | char elf_platform[ELF_PLATFORM_SIZE]; |
79 | 79 | ||
80 | struct mem_chunk __initdata memory_chunk[MEMORY_CHUNKS]; | 80 | struct mem_chunk __meminitdata memory_chunk[MEMORY_CHUNKS]; |
81 | volatile int __cpu_logical_map[NR_CPUS]; /* logical cpu to cpu address */ | 81 | volatile int __cpu_logical_map[NR_CPUS]; /* logical cpu to cpu address */ |
82 | static unsigned long __initdata memory_end; | 82 | static unsigned long __initdata memory_end; |
83 | 83 | ||
@@ -145,7 +145,7 @@ __setup("condev=", condev_setup); | |||
145 | 145 | ||
146 | static int __init conmode_setup(char *str) | 146 | static int __init conmode_setup(char *str) |
147 | { | 147 | { |
148 | #if defined(CONFIG_SCLP_CONSOLE) | 148 | #if defined(CONFIG_SCLP_CONSOLE) || defined(CONFIG_SCLP_VT220_CONSOLE) |
149 | if (strncmp(str, "hwc", 4) == 0 || strncmp(str, "sclp", 5) == 0) | 149 | if (strncmp(str, "hwc", 4) == 0 || strncmp(str, "sclp", 5) == 0) |
150 | SET_CONSOLE_SCLP; | 150 | SET_CONSOLE_SCLP; |
151 | #endif | 151 | #endif |
@@ -183,7 +183,7 @@ static void __init conmode_default(void) | |||
183 | */ | 183 | */ |
184 | cpcmd("TERM CONMODE 3215", NULL, 0, NULL); | 184 | cpcmd("TERM CONMODE 3215", NULL, 0, NULL); |
185 | if (ptr == NULL) { | 185 | if (ptr == NULL) { |
186 | #if defined(CONFIG_SCLP_CONSOLE) | 186 | #if defined(CONFIG_SCLP_CONSOLE) || defined(CONFIG_SCLP_VT220_CONSOLE) |
187 | SET_CONSOLE_SCLP; | 187 | SET_CONSOLE_SCLP; |
188 | #endif | 188 | #endif |
189 | return; | 189 | return; |
@@ -193,7 +193,7 @@ static void __init conmode_default(void) | |||
193 | SET_CONSOLE_3270; | 193 | SET_CONSOLE_3270; |
194 | #elif defined(CONFIG_TN3215_CONSOLE) | 194 | #elif defined(CONFIG_TN3215_CONSOLE) |
195 | SET_CONSOLE_3215; | 195 | SET_CONSOLE_3215; |
196 | #elif defined(CONFIG_SCLP_CONSOLE) | 196 | #elif defined(CONFIG_SCLP_CONSOLE) || defined(CONFIG_SCLP_VT220_CONSOLE) |
197 | SET_CONSOLE_SCLP; | 197 | SET_CONSOLE_SCLP; |
198 | #endif | 198 | #endif |
199 | } else if (strncmp(ptr + 8, "3215", 4) == 0) { | 199 | } else if (strncmp(ptr + 8, "3215", 4) == 0) { |
@@ -201,7 +201,7 @@ static void __init conmode_default(void) | |||
201 | SET_CONSOLE_3215; | 201 | SET_CONSOLE_3215; |
202 | #elif defined(CONFIG_TN3270_CONSOLE) | 202 | #elif defined(CONFIG_TN3270_CONSOLE) |
203 | SET_CONSOLE_3270; | 203 | SET_CONSOLE_3270; |
204 | #elif defined(CONFIG_SCLP_CONSOLE) | 204 | #elif defined(CONFIG_SCLP_CONSOLE) || defined(CONFIG_SCLP_VT220_CONSOLE) |
205 | SET_CONSOLE_SCLP; | 205 | SET_CONSOLE_SCLP; |
206 | #endif | 206 | #endif |
207 | } | 207 | } |
@@ -212,7 +212,7 @@ static void __init conmode_default(void) | |||
212 | SET_CONSOLE_3270; | 212 | SET_CONSOLE_3270; |
213 | #endif | 213 | #endif |
214 | } else { | 214 | } else { |
215 | #if defined(CONFIG_SCLP_CONSOLE) | 215 | #if defined(CONFIG_SCLP_CONSOLE) || defined(CONFIG_SCLP_VT220_CONSOLE) |
216 | SET_CONSOLE_SCLP; | 216 | SET_CONSOLE_SCLP; |
217 | #endif | 217 | #endif |
218 | } | 218 | } |
@@ -528,7 +528,7 @@ static void __init setup_memory_end(void) | |||
528 | memory_size = 0; | 528 | memory_size = 0; |
529 | memory_end &= PAGE_MASK; | 529 | memory_end &= PAGE_MASK; |
530 | 530 | ||
531 | max_mem = memory_end ? min(VMALLOC_START, memory_end) : VMALLOC_START; | 531 | max_mem = memory_end ? min(VMEM_MAX_PHYS, memory_end) : VMEM_MAX_PHYS; |
532 | memory_end = min(max_mem, memory_end); | 532 | memory_end = min(max_mem, memory_end); |
533 | 533 | ||
534 | /* | 534 | /* |