Re: [PATCH] change memoryX->phys_device from number to symlink [1/2] generic func

From: Greg KH
Date: Fri Feb 17 2006 - 17:22:29 EST


On Fri, Feb 17, 2006 at 03:44:01PM +0900, KAMEZAWA Hiroyuki wrote:
> This patch is from memory hotplug tree in lhms.
> This patch changes memory_device's phys_device member from just a number
> to symbolic link to the device. AFAIK, phys_device is not used now.
>
> example)
> $readlink /sys/devices/system/memory/memory10/phys_device
> ../../../../firmware/acpi/namespace/ACPI/_SB/LSB1/MEM3
>
> This will help memory hotplug shell script.

You should bring this up on the acpi mailing list, as I know Pat Mochel
has redone the whole "acpi in sysfs" thing, so this patch will break
those patches (or his will break yours.)

I suggest you discuss this with him.

good luck,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/