/* This function is going to be called with interrupts disabled, so it cannot iounmap the virtual addresses used to access the NVS region.  */
void hibernate_nvs_restore(void)
/* This function is going to be called with interrupts disabled, so it cannot iounmap the virtual addresses used to access the NVS region.  */
void hibernate_nvs_restore(void)
{
	struct nvs_page *entry;
	printk(KERN_INFO "PM: Restoring platform NVS memory\n");
	list_for_each_entry(entry, &nvs_list, node)
		if (entry->data)
			memcpy(entry->kaddr, entry->data, entry->size);
}