sd_resume patch added