Arnd Bergmann 3bd71e18c5 iommu/vt-d: Fix harmless section mismatch warning
Building with gcc-4.6 results in this warning due to
dmar_table_print_dmar_entry being inlined as in newer compiler versions:

WARNING: vmlinux.o(.text+0x5c8bee): Section mismatch in reference from the function dmar_walk_remapping_entries() to the function .init.text:dmar_table_print_dmar_entry()
The function dmar_walk_remapping_entries() references
the function __init dmar_table_print_dmar_entry().
This is often because dmar_walk_remapping_entries lacks a __init
annotation or the annotation of dmar_table_print_dmar_entry is wrong.

This removes the __init annotation to avoid the warning. On compilers
that don't show the warning today, this should have no impact since the
function gets inlined anyway.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2017-09-19 11:44:46 +02:00
..
2017-09-09 15:03:24 -07:00
2017-09-09 15:03:24 -07:00
2017-09-09 15:03:24 -07:00
2017-07-12 10:00:04 -07:00
2017-08-23 16:28:09 +02:00
2017-09-09 15:03:24 -07:00
2017-09-09 15:03:24 -07:00
2017-08-15 18:23:52 +02:00
2017-09-19 11:42:19 +02:00
2017-08-15 17:34:49 +02:00
2017-08-10 00:03:50 +02:00
2017-08-30 17:53:29 +02:00