[PATCH] s390: cleanup Kconfig
Sanitize some s390 Kconfig options. We have ARCH_S390, ARCH_S390X, ARCH_S390_31, 64BIT, S390_SUPPORT and COMPAT. Replace these 6 options by S390, 64BIT and COMPAT. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
9bbc8346fb
commit
347a8dc3b8
@@ -427,7 +427,7 @@ setup_lowcore(void)
|
||||
__alloc_bootmem(PAGE_SIZE, PAGE_SIZE, 0) + PAGE_SIZE;
|
||||
lc->current_task = (unsigned long) init_thread_union.thread_info.task;
|
||||
lc->thread_info = (unsigned long) &init_thread_union;
|
||||
#ifndef CONFIG_ARCH_S390X
|
||||
#ifndef CONFIG_64BIT
|
||||
if (MACHINE_HAS_IEEE) {
|
||||
lc->extended_save_area_addr = (__u32)
|
||||
__alloc_bootmem(PAGE_SIZE, PAGE_SIZE, 0);
|
||||
@@ -562,21 +562,21 @@ setup_arch(char **cmdline_p)
|
||||
/*
|
||||
* print what head.S has found out about the machine
|
||||
*/
|
||||
#ifndef CONFIG_ARCH_S390X
|
||||
#ifndef CONFIG_64BIT
|
||||
printk((MACHINE_IS_VM) ?
|
||||
"We are running under VM (31 bit mode)\n" :
|
||||
"We are running native (31 bit mode)\n");
|
||||
printk((MACHINE_HAS_IEEE) ?
|
||||
"This machine has an IEEE fpu\n" :
|
||||
"This machine has no IEEE fpu\n");
|
||||
#else /* CONFIG_ARCH_S390X */
|
||||
#else /* CONFIG_64BIT */
|
||||
printk((MACHINE_IS_VM) ?
|
||||
"We are running under VM (64 bit mode)\n" :
|
||||
"We are running native (64 bit mode)\n");
|
||||
#endif /* CONFIG_ARCH_S390X */
|
||||
#endif /* CONFIG_64BIT */
|
||||
|
||||
ROOT_DEV = Root_RAM0;
|
||||
#ifndef CONFIG_ARCH_S390X
|
||||
#ifndef CONFIG_64BIT
|
||||
memory_end = memory_size & ~0x400000UL; /* align memory end to 4MB */
|
||||
/*
|
||||
* We need some free virtual space to be able to do vmalloc.
|
||||
@@ -585,9 +585,9 @@ setup_arch(char **cmdline_p)
|
||||
*/
|
||||
if (memory_end > 1920*1024*1024)
|
||||
memory_end = 1920*1024*1024;
|
||||
#else /* CONFIG_ARCH_S390X */
|
||||
#else /* CONFIG_64BIT */
|
||||
memory_end = memory_size & ~0x200000UL; /* detected in head.s */
|
||||
#endif /* CONFIG_ARCH_S390X */
|
||||
#endif /* CONFIG_64BIT */
|
||||
|
||||
init_mm.start_code = PAGE_OFFSET;
|
||||
init_mm.end_code = (unsigned long) &_etext;
|
||||
|
Reference in New Issue
Block a user