/* This function is called for SCLP suspend and resume events.  */
void sclp_console_pm_event(enum sclp_pm_event sclp_pm_event)
/* This function is called for SCLP suspend and resume events.  */
void sclp_console_pm_event(enum sclp_pm_event sclp_pm_event)
{
	switch (sclp_pm_event) {
	case SCLP_PM_EVENT_FREEZE:
		sclp_console_suspend();
		break;
	case SCLP_PM_EVENT_RESTORE:
	case SCLP_PM_EVENT_THAW:
		sclp_console_resume();
		break;
	}
}