Bug 17441

Summary: Cannot compile due to drivers/pci/intel-iommu.c:437: sorry, unimplemented: inlining failed in call to 'width_to_agaw': function body not available
Product: Drivers Reporter: Martin Mokrejs (mmokrejs)
Component: PCIAssignee: drivers_pci (drivers_pci)
Status: RESOLVED CODE_FIX    
Severity: normal CC: akpm
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.35 Tree: Mainline
Regression: No
Attachments: .config

Description Martin Mokrejs 2010-08-30 14:11:44 UTC
Created attachment 28431 [details]
.config

I tried to compile the kernel on a bit outdated RedHat rel 3. machine current kernel with gcc-3.4.5 and it fails with:


CC      drivers/pci/intel-iommu.o
In file included from include/linux/kobject.h:21,
                 from include/linux/fs.h:375,
                 from include/linux/debugfs.h:18,
                 from drivers/pci/intel-iommu.c:26:
include/linux/sysfs.h:183: warning: parameter has incomplete type
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
make[2]: *** [drivers/pci/intel-iommu.o] Error 1
Comment 1 Andrew Morton 2010-09-17 22:52:31 UTC
I queued a fix, thanks.