summaryrefslogtreecommitdiffstats
path: root/include/asm-s390
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2007-04-27 16:01:25 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2007-04-27 16:01:38 +0200
commit6fc321fd7dd91f0592f37503219196835314fbb7 (patch)
treed512811f8f6761608829c8df44a55a2ada074cdc /include/asm-s390
parent[S390] memory detection: stop at first memory hole. (diff)
downloadlinux-6fc321fd7dd91f0592f37503219196835314fbb7.tar.xz
linux-6fc321fd7dd91f0592f37503219196835314fbb7.zip
[S390] cio/ipl: Clean interface between cio and ipl code.
Clean interface between cio and ipl code, so Peter stops complaining. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'include/asm-s390')
-rw-r--r--include/asm-s390/cio.h7
-rw-r--r--include/asm-s390/ipl.h3
2 files changed, 8 insertions, 2 deletions
diff --git a/include/asm-s390/cio.h b/include/asm-s390/cio.h
index d92785030980..0db017bc7d09 100644
--- a/include/asm-s390/cio.h
+++ b/include/asm-s390/cio.h
@@ -292,6 +292,13 @@ extern void css_schedule_reprobe(void);
extern void reipl_ccw_dev(struct ccw_dev_id *id);
+struct cio_iplinfo {
+ u16 devno;
+ int is_qdio;
+};
+
+extern int cio_get_iplinfo(struct cio_iplinfo *iplinfo);
+
#endif
#endif
diff --git a/include/asm-s390/ipl.h b/include/asm-s390/ipl.h
index 0eb64083480a..15bb0b529551 100644
--- a/include/asm-s390/ipl.h
+++ b/include/asm-s390/ipl.h
@@ -74,10 +74,9 @@ struct ipl_parameter_block {
} __attribute__((packed));
/*
- * IPL validity flags and parameters as detected in head.S
+ * IPL validity flags
*/
extern u32 ipl_flags;
-extern u16 ipl_devno;
extern u32 dump_prefix_page;
extern void do_reipl(void);