diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2007-04-27 10:01:25 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-04-27 10:01:38 -0400 |
commit | 6fc321fd7dd91f0592f37503219196835314fbb7 (patch) | |
tree | d512811f8f6761608829c8df44a55a2ada074cdc /include/asm-s390 | |
parent | 29c380f5f06d0c5a320b9bb6f8987065e7b81c91 (diff) |
[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.h | 7 | ||||
-rw-r--r-- | include/asm-s390/ipl.h | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/include/asm-s390/cio.h b/include/asm-s390/cio.h index d9278503098..0db017bc7d0 100644 --- a/include/asm-s390/cio.h +++ b/include/asm-s390/cio.h | |||
@@ -292,6 +292,13 @@ extern void css_schedule_reprobe(void); | |||
292 | 292 | ||
293 | extern void reipl_ccw_dev(struct ccw_dev_id *id); | 293 | extern void reipl_ccw_dev(struct ccw_dev_id *id); |
294 | 294 | ||
295 | struct cio_iplinfo { | ||
296 | u16 devno; | ||
297 | int is_qdio; | ||
298 | }; | ||
299 | |||
300 | extern int cio_get_iplinfo(struct cio_iplinfo *iplinfo); | ||
301 | |||
295 | #endif | 302 | #endif |
296 | 303 | ||
297 | #endif | 304 | #endif |
diff --git a/include/asm-s390/ipl.h b/include/asm-s390/ipl.h index 0eb64083480..15bb0b52955 100644 --- a/include/asm-s390/ipl.h +++ b/include/asm-s390/ipl.h | |||
@@ -74,10 +74,9 @@ struct ipl_parameter_block { | |||
74 | } __attribute__((packed)); | 74 | } __attribute__((packed)); |
75 | 75 | ||
76 | /* | 76 | /* |
77 | * IPL validity flags and parameters as detected in head.S | 77 | * IPL validity flags |
78 | */ | 78 | */ |
79 | extern u32 ipl_flags; | 79 | extern u32 ipl_flags; |
80 | extern u16 ipl_devno; | ||
81 | 80 | ||
82 | extern u32 dump_prefix_page; | 81 | extern u32 dump_prefix_page; |
83 | extern void do_reipl(void); | 82 | extern void do_reipl(void); |