|
@@ -21,6 +21,7 @@
|
|
|
#include <asm/debug.h>
|
|
|
#include <asm/processor.h>
|
|
|
#include <asm/irqflags.h>
|
|
|
+#include "sclp.h"
|
|
|
|
|
|
#define TRACE(x...) debug_sprintf_event(zcore_dbf, 1, x)
|
|
|
#define MSG(x...) printk( KERN_ALERT x )
|
|
@@ -564,8 +565,6 @@ static void __init zcore_header_init(int arch, struct zcore_header *hdr)
|
|
|
get_cpu_id(&hdr->cpu_id);
|
|
|
}
|
|
|
|
|
|
-extern int sdias_init(void);
|
|
|
-
|
|
|
static int __init zcore_init(void)
|
|
|
{
|
|
|
unsigned char arch;
|
|
@@ -582,7 +581,7 @@ static int __init zcore_init(void)
|
|
|
TRACE("wwpn: %llx\n", (unsigned long long) ipl_info.data.fcp.wwpn);
|
|
|
TRACE("lun: %llx\n", (unsigned long long) ipl_info.data.fcp.lun);
|
|
|
|
|
|
- rc = sdias_init();
|
|
|
+ rc = sclp_sdias_init();
|
|
|
if (rc)
|
|
|
goto fail;
|
|
|
|
|
@@ -634,12 +633,10 @@ fail:
|
|
|
return rc;
|
|
|
}
|
|
|
|
|
|
-extern void sdias_exit(void);
|
|
|
-
|
|
|
static void __exit zcore_exit(void)
|
|
|
{
|
|
|
debug_unregister(zcore_dbf);
|
|
|
- sdias_exit();
|
|
|
+ sclp_sdias_exit();
|
|
|
diag308(DIAG308_REL_HSA, NULL);
|
|
|
}
|
|
|
|