aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/chsc.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-03-26 10:24:01 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-03-26 10:24:10 -0400
commitf5daba1d4116d964435ddd99f32b6c80448a496b (patch)
tree0c4ace40971e9cc455b556a3d5691b64a24044b5 /drivers/s390/cio/chsc.c
parent70193af9188113c9b4ff3dde1aed9f9c8f7c4f93 (diff)
[S390] split/move machine check handler code
Split machine check handler code and move it to cio and kernel code where it belongs to. No functional change. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/chsc.c')
-rw-r--r--drivers/s390/cio/chsc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/cio/chsc.c b/drivers/s390/cio/chsc.c
index ebab6ea4659b..7399b07a1aeb 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"
@@ -820,7 +820,7 @@ int __init chsc_alloc_sei_area(void)
820 "chsc machine checks!\n"); 820 "chsc machine checks!\n");
821 return -ENOMEM; 821 return -ENOMEM;
822 } 822 }
823 ret = s390_register_crw_handler(CRW_RSC_CSS, chsc_process_crw); 823 ret = crw_register_handler(CRW_RSC_CSS, chsc_process_crw);
824 if (ret) 824 if (ret)
825 kfree(sei_page); 825 kfree(sei_page);
826 return ret; 826 return ret;
@@ -828,7 +828,7 @@ int __init chsc_alloc_sei_area(void)
828 828
829void __init chsc_free_sei_area(void) 829void __init chsc_free_sei_area(void)
830{ 830{
831 s390_unregister_crw_handler(CRW_RSC_CSS); 831 crw_unregister_handler(CRW_RSC_CSS);
832 kfree(sei_page); 832 kfree(sei_page);
833} 833}
834 834