/* This function will be called after sclp_facilities_detect(), which gets called from early.c code. Therefore the sccb should have valid contents.  */
void __init sclp_get_ipl_info(struct sclp_ipl_info *info)
/* This function will be called after sclp_facilities_detect(), which gets called from early.c code. Therefore the sccb should have valid contents.  */
void __init sclp_get_ipl_info(struct sclp_ipl_info *info)
{
	struct read_info_sccb *sccb;
	if (!early_read_info_sccb_valid)
		return;
	sccb = &early_read_info_sccb;
	info->is_valid = 1;
	if (sccb->flags & 0x2)
		info->has_dump = 1;
	memcpy(&info->loadparm, &sccb->loadparm, LOADPARM_LEN);
}