[S390] s390: move machine flags to lowcore
authorChristian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Tue, 14 Apr 2009 13:36:16 +0000 (15:36 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 14 Apr 2009 13:37:21 +0000 (15:37 +0200)
commit25097bf153391f7be4c591d47061b3dc4990dac2
treee6fce72c43759d97eb80f0af1ae08c0e6058e6bc
parentb21597d0268983f8f9e8b563494f75490403e948
[S390] s390: move machine flags to lowcore

Currently the storage of the machine flags is a globally exported unsigned
long long variable. By moving the storage location into the lowcore struct we
allow assembler code to check machine_flags directly even without needing a
register. Addtionally the lowcore and therefore the machine flags too will be
in cache most of the time.

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/cpuid.h [new file with mode: 0644]
arch/s390/include/asm/kvm_host.h
arch/s390/include/asm/lowcore.h
arch/s390/include/asm/processor.h
arch/s390/include/asm/ptrace.h
arch/s390/include/asm/setup.h
arch/s390/include/asm/thread_info.h
arch/s390/kernel/early.c
arch/s390/kernel/setup.c
arch/s390/kernel/smp.c