diff options
Diffstat (limited to 'drivers/s390/cio/chsc.c')
-rw-r--r-- | drivers/s390/cio/chsc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/s390/cio/chsc.c b/drivers/s390/cio/chsc.c index ebab6ea4659b..883f16f96f22 100644 --- a/drivers/s390/cio/chsc.c +++ b/drivers/s390/cio/chsc.c | |||
@@ -19,8 +19,8 @@ | |||
19 | #include <asm/cio.h> | 19 | #include <asm/cio.h> |
20 | #include <asm/chpid.h> | 20 | #include <asm/chpid.h> |
21 | #include <asm/chsc.h> | 21 | #include <asm/chsc.h> |
22 | #include <asm/crw.h> | ||
22 | 23 | ||
23 | #include "../s390mach.h" | ||
24 | #include "css.h" | 24 | #include "css.h" |
25 | #include "cio.h" | 25 | #include "cio.h" |
26 | #include "cio_debug.h" | 26 | #include "cio_debug.h" |
@@ -589,6 +589,7 @@ __chsc_do_secm(struct channel_subsystem *css, int enable, void *page) | |||
589 | case 0x0102: | 589 | case 0x0102: |
590 | case 0x0103: | 590 | case 0x0103: |
591 | ret = -EINVAL; | 591 | ret = -EINVAL; |
592 | break; | ||
592 | default: | 593 | default: |
593 | ret = chsc_error_from_response(secm_area->response.code); | 594 | ret = chsc_error_from_response(secm_area->response.code); |
594 | } | 595 | } |
@@ -820,7 +821,7 @@ int __init chsc_alloc_sei_area(void) | |||
820 | "chsc machine checks!\n"); | 821 | "chsc machine checks!\n"); |
821 | return -ENOMEM; | 822 | return -ENOMEM; |
822 | } | 823 | } |
823 | ret = s390_register_crw_handler(CRW_RSC_CSS, chsc_process_crw); | 824 | ret = crw_register_handler(CRW_RSC_CSS, chsc_process_crw); |
824 | if (ret) | 825 | if (ret) |
825 | kfree(sei_page); | 826 | kfree(sei_page); |
826 | return ret; | 827 | return ret; |
@@ -828,7 +829,7 @@ int __init chsc_alloc_sei_area(void) | |||
828 | 829 | ||
829 | void __init chsc_free_sei_area(void) | 830 | void __init chsc_free_sei_area(void) |
830 | { | 831 | { |
831 | s390_unregister_crw_handler(CRW_RSC_CSS); | 832 | crw_unregister_handler(CRW_RSC_CSS); |
832 | kfree(sei_page); | 833 | kfree(sei_page); |
833 | } | 834 | } |
834 | 835 | ||