Skip to content

Commit

Permalink
[PATCH] x86-64: Remove redundant swiotlb=force handling
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Sep 12, 2005
1 parent 63f02fd commit a54e678
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/x86_64/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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;
Expand Down

0 comments on commit a54e678

Please sign in to comment.