ramdisk: adjust for new PM mode (this commit only for new kernel with pm)