From: Steffen Persvold Date: Thu, 15 Mar 2012 14:20:29 +0000 (+0100) Subject: iommu/amd: Fix section warning for prealloc_protection_domains X-Git-Tag: v3.2.14~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab153f21e011985dbe056f8780c31d823db8948e;p=pandora-kernel.git iommu/amd: Fix section warning for prealloc_protection_domains commit cebd5fa4d3046d5b43ce1836a0120612822a7fb0 upstream. Fix the following section warning in drivers/iommu/amd_iommu.c : WARNING: vmlinux.o(.text+0x526e77): Section mismatch in reference from the function prealloc_protection_domains() to the function .init.text:alloc_passthrough_domain() The function prealloc_protection_domains() references the function __init alloc_passthrough_domain(). This is often because prealloc_protection_domains lacks a __init annotation or the annotation of alloc_passthrough_domain is wrong. Signed-off-by: Steffen Persvold Signed-off-by: Joerg Roedel Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed