mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[S390] iucv cr0 enablement bit
Do not set the cr0 enablement bit for iucv by default in head[31|64].S, move the enablement to iucv_init in the iucv base layer. Signed-off-by: Martin Schwidefsky <[email protected]>
This commit is contained in:
parent
89c9b66b10
commit
5beab99100
3 changed files with 7 additions and 4 deletions
|
|
@ -1988,12 +1988,13 @@ static int __init iucv_init(void)
|
|||
rc = -EPROTONOSUPPORT;
|
||||
goto out;
|
||||
}
|
||||
ctl_set_bit(0, 1);
|
||||
rc = iucv_query_maxconn();
|
||||
if (rc)
|
||||
goto out;
|
||||
goto out_ctl;
|
||||
rc = register_external_interrupt(0x4000, iucv_external_interrupt);
|
||||
if (rc)
|
||||
goto out;
|
||||
goto out_ctl;
|
||||
iucv_root = root_device_register("iucv");
|
||||
if (IS_ERR(iucv_root)) {
|
||||
rc = PTR_ERR(iucv_root);
|
||||
|
|
@ -2055,6 +2056,8 @@ out_free:
|
|||
root_device_unregister(iucv_root);
|
||||
out_int:
|
||||
unregister_external_interrupt(0x4000, iucv_external_interrupt);
|
||||
out_ctl:
|
||||
ctl_clear_bit(0, 1);
|
||||
out:
|
||||
return rc;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue