s390/mm: keep fault_init() private to fault.c
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 30 Oct 2012 13:49:37 +0000 (14:49 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 23 Nov 2012 10:14:29 +0000 (11:14 +0100)
commita4f32bdbd9c5807af1e80e2ba91ef52845a236a8
tree576014af74c5ecad10c7cc199428d77e57fd2959
parent287a0933237a227d1d6508de0ad6425b55a60476
s390/mm: keep fault_init() private to fault.c

Just convert fault_init() to an early initcall. That's still early
enough since it only needs be called before user space processes get
executed. No reason to externalize it.
Also add the function to the init section and move the store_indication
variable to the read_mostly section.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/pgtable.h
arch/s390/mm/fault.c
arch/s390/mm/init.c