Re: [Xen-devel] [Patch v4 01/23] ACPICA: Resources: Provide common part for struct acpi_resource_address structures.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Jiang Liu <jiang.liu@xxxxxxxxxxxxxxx>, "Rafael J. Wysocki" <rjw@xxxxxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Bjorn Helgaas <bhelgaas@xxxxxxxxxx>, Yinghai Lu <yinghai@xxxxxxxxxx>, Borislav Petkov <bp@xxxxxxxxx>, Lv Zheng <lv.zheng@xxxxxxxxx>, Tony Luck <tony.luck@xxxxxxxxx>, Fenghua Yu <fenghua.yu@xxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, "H. Peter Anvin" <hpa@xxxxxxxxx>, <x86@xxxxxxxxxx>, Len Brown <lenb@xxxxxxxxxx>, Robert Moore <robert.moore@xxxxxxxxx>, Clemens Ladisch <clemens@xxxxxxxxxx>, Arnd Bergmann <arnd@xxxxxxxx>, Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>, "K. Y. Srinivasan" <kys@xxxxxxxxxxxxx>, Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>, David Vrabel <david.vrabel@xxxxxxxxxx>
- Subject: Re: [Xen-devel] [Patch v4 01/23] ACPICA: Resources: Provide common part for struct acpi_resource_address structures.
- From: David Vrabel <david.vrabel@xxxxxxxxxx>
- Date: Thu, 5 Feb 2015 10:05:01 +0000
- Cc: <linux-ia64@xxxxxxxxxxxxxxx>, <linux-pci@xxxxxxxxxxxxxxx>, <linux-kernel@xxxxxxxxxxxxxxx>, <linux-acpi@xxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>, <devel@xxxxxxxxxxxxxxxxxxxxxx>, <devel@xxxxxxxxxx>
- In-reply-to: <1423115089-12904-2-git-send-email-jiang.liu@linux.intel.com>
- List-id: <linux-ia64.vger.kernel.org>
- References: <1423115089-12904-1-git-send-email-jiang.liu@linux.intel.com> <1423115089-12904-2-git-send-email-jiang.liu@linux.intel.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0
On 05/02/15 05:44, Jiang Liu wrote:
>
> --- a/drivers/xen/xen-acpi-memhotplug.c
> +++ b/drivers/xen/xen-acpi-memhotplug.c
> @@ -117,8 +117,8 @@ acpi_memory_get_resource(struct acpi_resource *resource, void *context)
> list_for_each_entry(info, &mem_device->res_list, list) {
> if ((info->caching == address64.info.mem.caching) &&
> (info->write_protect == address64.info.mem.write_protect) &&
> - (info->start_addr + info->length == address64.minimum)) {
> - info->length += address64.address_length;
> + (info->start_addr + info->length == address64.address.minimum)) {
> + info->length += address64.address.address_length;
> return AE_OK;
> }
> }
> @@ -130,8 +130,8 @@ acpi_memory_get_resource(struct acpi_resource *resource, void *context)
> INIT_LIST_HEAD(&new->list);
> new->caching = address64.info.mem.caching;
> new->write_protect = address64.info.mem.write_protect;
> - new->start_addr = address64.minimum;
> - new->length = address64.address_length;
> + new->start_addr = address64.address.minimum;
> + new->length = address64.address.address_length;
> list_add_tail(&new->list, &mem_device->res_list);
>
> return AE_OK;
Xen parts:
Acked-by: David Vrabel <david.vrabel@xxxxxxxxxx>
David
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]