diff mbox

[v2,01/13] arm64: PCI/MSI: Use asm-generic/msi.h

Message ID 1416336788-22634-2-git-send-email-marc.zyngier@arm.com
State Accepted
Commit be091d468a0a09a7f4b1645e20cd6d36a353e51a
Headers show

Commit Message

Marc Zyngier Nov. 18, 2014, 6:52 p.m. UTC
In order to support CONFIG_GENERIC_MSI_IRQ_DOMAIN, we need to
define msi_alloc_info_t. As the generic version exposed in
asm-generic/msi.h is perfectly convenient, import this file
as asm/msi.h.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
---
 arch/arm64/include/asm/Kbuild | 1 +
 1 file changed, 1 insertion(+)

Comments

Will Deacon Nov. 19, 2014, 10:35 a.m. UTC | #1
On Tue, Nov 18, 2014 at 06:52:56PM +0000, Marc Zyngier wrote:
> In order to support CONFIG_GENERIC_MSI_IRQ_DOMAIN, we need to
> define msi_alloc_info_t. As the generic version exposed in
> asm-generic/msi.h is perfectly convenient, import this file
> as asm/msi.h.
> 
> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
> ---

Since this depends on the asm-generic file,

  Acked-by: Will Deacon <will.deacon@arm.com>

Will

>  arch/arm64/include/asm/Kbuild | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/include/asm/Kbuild b/arch/arm64/include/asm/Kbuild
> index dc770bd..e315bd8 100644
> --- a/arch/arm64/include/asm/Kbuild
> +++ b/arch/arm64/include/asm/Kbuild
> @@ -28,6 +28,7 @@ generic-y += local64.h
>  generic-y += mcs_spinlock.h
>  generic-y += mman.h
>  generic-y += msgbuf.h
> +generic-y += msi.h
>  generic-y += mutex.h
>  generic-y += pci.h
>  generic-y += pci-bridge.h
> -- 
> 2.1.3
> 
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
diff mbox

Patch

diff --git a/arch/arm64/include/asm/Kbuild b/arch/arm64/include/asm/Kbuild
index dc770bd..e315bd8 100644
--- a/arch/arm64/include/asm/Kbuild
+++ b/arch/arm64/include/asm/Kbuild
@@ -28,6 +28,7 @@  generic-y += local64.h
 generic-y += mcs_spinlock.h
 generic-y += mman.h
 generic-y += msgbuf.h
+generic-y += msi.h
 generic-y += mutex.h
 generic-y += pci.h
 generic-y += pci-bridge.h