From: Wei Yang Date: Fri, 6 Sep 2013 01:45:58 +0000 (+0800) Subject: PCI: Pass type, width, and prefetchability for window alignment X-Git-Tag: v3.13-rc1~95^2~9^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ad94b0d795c50836160781e63ee6bb752766aaf;p=pandora-kernel.git PCI: Pass type, width, and prefetchability for window alignment When calculating window_alignment(), type information like IORESOURCE_MEM and IORESOURCE_PREFETCH may not be enough. For example, on powernv, we need to know whether the window is 64-bit or not. This patch passes the full resource type (res->flags) for window alignment. [bhelgaas: changelog] Signed-off-by: Wei Yang Signed-off-by: Bjorn Helgaas Acked-by: Gavin Shan --- Reading git-diff-tree failed