[S390] sclp: initialize early.
Add explicit sclp initialization for those sclp users that do not register with the interface. Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
b7127dfeed
commit
b3d00c3b92
@ -15,6 +15,7 @@
|
|||||||
#include <linux/timer.h>
|
#include <linux/timer.h>
|
||||||
#include <linux/reboot.h>
|
#include <linux/reboot.h>
|
||||||
#include <linux/jiffies.h>
|
#include <linux/jiffies.h>
|
||||||
|
#include <linux/init.h>
|
||||||
#include <asm/types.h>
|
#include <asm/types.h>
|
||||||
#include <asm/s390_ext.h>
|
#include <asm/s390_ext.h>
|
||||||
|
|
||||||
@ -930,3 +931,10 @@ sclp_init(void)
|
|||||||
sclp_init_mask(1);
|
sclp_init_mask(1);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static __init int sclp_initcall(void)
|
||||||
|
{
|
||||||
|
return sclp_init();
|
||||||
|
}
|
||||||
|
|
||||||
|
arch_initcall(sclp_initcall);
|
||||||
|
Loading…
Reference in New Issue
Block a user