[PATCH] x86-64: Remove redundant swiotlb=force handling
authorAndi Kleen <ak@suse.de>
Mon, 12 Sep 2005 16:49:24 +0000 (18:49 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 12 Sep 2005 17:49:56 +0000 (10:49 -0700)
It's already handled in the main swiotlb code.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/mm/init.c

index aa4a5189ecee2640503d053bf6c79b233aa99f99..47cf9163aa89f70292ce0735986cc10f176c705e 100644 (file)
@@ -403,8 +403,6 @@ static inline int page_is_ram (unsigned long pagenr)
        return 0;
 }
 
-extern int swiotlb_force;
-
 static struct kcore_list kcore_mem, kcore_vmalloc, kcore_kernel, kcore_modules,
                         kcore_vsyscall;
 
@@ -414,8 +412,6 @@ void __init mem_init(void)
        int tmp;
 
 #ifdef CONFIG_SWIOTLB
-       if (swiotlb_force)
-               swiotlb = 1;
        if (!iommu_aperture &&
            (end_pfn >= 0xffffffff>>PAGE_SHIFT || force_iommu))
               swiotlb = 1;