diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2010-09-22 13:05:11 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-26 17:18:25 -0700 |
commit | b932db652630421d4a75e3b661995962a856bf64 (patch) | |
tree | 00e7c779b6f51f1ff2da83eeaaef301e48cce591 /mm/slub.c | |
parent | 0f8f659720f03fcd2fd68384b9fd2ac43535b4be (diff) |
drivers/pci/intel-iommu.c: fix build with older gcc's
commit df08cdc7ef606509debe7677c439be0ca48790e4 upstream.
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 <mmokrejs@ribosome.natur.cuni.cz>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions