From: Andrew Morton Date: Wed, 22 Sep 2010 20:05:11 +0000 (-0700) Subject: drivers/pci/intel-iommu.c: fix build with older gcc's X-Git-Tag: v2.6.36-rc6~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df08cdc7ef606509debe7677c439be0ca48790e4;p=pandora-kernel.git drivers/pci/intel-iommu.c: fix build with older gcc's drivers/pci/intel-iommu.c: In function `__iommu_calculate_agaw': drivers/pci/intel-iommu.c:437: sorry, unimplemented: inlining failed in call to 'width_to_agaw': function body not available drivers/pci/intel-iommu.c:445: sorry, unimplemented: called from here Move the offending function (and its siblings) to top-of-file, remove the forward declaration. Addresses https://bugzilla.kernel.org/show_bug.cgi?id=17441 Reported-by: Martin Mokrejs Cc: David Woodhouse Cc: Jesse Barnes Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed