/* use this as the physical section index that this memsection uses.  */
static ssize_t show_mem_phys_index(struct sys_device *dev, struct sysdev_attribute *attr, char *buf)
/* use this as the physical section index that this memsection uses.  */
static ssize_t show_mem_phys_index(struct sys_device *dev, struct sysdev_attribute *attr, char *buf)
{
	struct memory_block *mem =
		container_of(dev, struct memory_block, sysdev);
	return sprintf(buf, "%08lx\n", mem->phys_index);
}