Merge branch 'linus' into core/urgent
authorIngo Molnar <mingo@elte.hu>
Sun, 4 Jan 2009 09:59:36 +0000 (10:59 +0100)
committerIngo Molnar <mingo@elte.hu>
Sun, 4 Jan 2009 09:59:36 +0000 (10:59 +0100)
arch/x86/kernel/pci-swiotlb_64.c
lib/swiotlb.c

index 242c344..8cba374 100644 (file)
@@ -13,7 +13,7 @@
 
 int swiotlb __read_mostly;
 
-void *swiotlb_alloc_boot(size_t size, unsigned long nslabs)
+void * __init swiotlb_alloc_boot(size_t size, unsigned long nslabs)
 {
        return alloc_bootmem_low_pages(size);
 }
index fa2dc4e..b6d0aae 100644 (file)
@@ -116,7 +116,7 @@ setup_io_tlb_npages(char *str)
 __setup("swiotlb=", setup_io_tlb_npages);
 /* make io_tlb_overflow tunable too? */
 
-void * __weak swiotlb_alloc_boot(size_t size, unsigned long nslabs)
+void * __weak __init swiotlb_alloc_boot(size_t size, unsigned long nslabs)
 {
        return alloc_bootmem_low_pages(size);
 }