Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b2ead6e012e2b2ab31851c288e0dd7872884a8a3
Commit:     b2ead6e012e2b2ab31851c288e0dd7872884a8a3
Parent:     3c308798a337d75d846773dd64155860852931fc
Author:     Sam Ravnborg <[EMAIL PROTECTED]>
AuthorDate: Tue May 8 00:24:42 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue May 8 11:14:59 2007 -0700

    fix section mismatch warning in lib/swiotlb.c
    
    kbuild spits outs following warning on a
    defconfig x86_64 build:
    WARNING: swiotlb.o - Section mismatch: reference to .init.text:swiotlb_init 
from __ksymtab between '__ksymtab_swiotlb_init' (at offset 0xa0) and 
'__ksymtab_swiotlb_free_coherent'
    
    This warning happens because the function swiotlb_init is marked __init and
    EXPORT_SYMBOL().  A 'git grep swiotlb_init' showed no users in drivers/ so
    remove the EXPORT_SYMBOL.
    
    Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]>
    Cc: Andi Kleen <[EMAIL PROTECTED]>
    Cc: "Luck, Tony" <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 lib/swiotlb.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/lib/swiotlb.c b/lib/swiotlb.c
index 9970e55..10c13ad 100644
--- a/lib/swiotlb.c
+++ b/lib/swiotlb.c
@@ -778,7 +778,6 @@ swiotlb_dma_supported(struct device *hwdev, u64 mask)
        return virt_to_bus(io_tlb_end - 1) <= mask;
 }
 
-EXPORT_SYMBOL(swiotlb_init);
 EXPORT_SYMBOL(swiotlb_map_single);
 EXPORT_SYMBOL(swiotlb_unmap_single);
 EXPORT_SYMBOL(swiotlb_map_sg);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to