]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] kernel: Storing machine flags early in lowcore
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Fri, 7 Aug 2009 08:39:24 +0000 (10:39 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 7 Aug 2009 08:40:39 +0000 (10:40 +0200)
commit8c31b451de1a1218d86089ab2cd00764243465de
treef55ec30ad750ed2535ef9761bdb4f162ae9f943c
parent869c775a96af162e5b7b7f1f562f4fe164a06f2c
[S390] kernel: Storing machine flags early in lowcore

Currently, the machine_flags are stored late in the startup
initialization which results in failing machine type checks
(e.g. for MACHINE_IS_VM).
To allow these checks, store the machine flags in the lowcore
when the machine type has been detected.

Moving the machine_flags to the lowcore has been introduced with
git commit d76e07246ad9031772612866fc79de15badd860c

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/early.c