[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1238539935-4295-10-git-send-email-jeremy@goop.org>
Date: Tue, 31 Mar 2009 15:52:15 -0700
From: Jeremy Fitzhardinge <jeremy@...p.org>
To: FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
Cc: the arch/x86 maintainers <x86@...nel.org>,
Ingo Molnar <mingo@...e.hu>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Jeremy Fitzhardinge <jeremy.fitzhardinge@...rix.com>
Subject: [PATCH 9/9] pci-swiotlb: remove __weak vs __weak binding
From: Jeremy Fitzhardinge <jeremy.fitzhardinge@...rix.com>
swiotlb_arch_range_needs_mapping() is weak in lib/swiotlb.c so that
architectures can override it. The override versions shouldn't be
weak too.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@...rix.com>
Reviewed-by: "H. Peter Anvin" <hpa@...or.com>
---
arch/x86/kernel/pci-swiotlb_64.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/pci-swiotlb_64.c b/arch/x86/kernel/pci-swiotlb_64.c
index 3b9f817..7894315 100644
--- a/arch/x86/kernel/pci-swiotlb_64.c
+++ b/arch/x86/kernel/pci-swiotlb_64.c
@@ -52,7 +52,7 @@ phys_addr_t swiotlb_bus_to_phys(dma_addr_t baddr)
return baddr;
}
-int __weak swiotlb_arch_range_needs_mapping(phys_addr_t paddr, size_t size)
+int swiotlb_arch_range_needs_mapping(phys_addr_t paddr, size_t size)
{
if (xen_pv_domain())
return xen_range_needs_mapping(paddr, size);
--
1.6.0.6
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists