Skip to contentSkip to conversation

about x86: relax RAM check in ioremap

PATCH Yinghai Lu 2 participants 2 messages Feb 3, 2008 – Feb 4, 2008 x86

lore
Share & tools
lore

Yinghai Lu

author
#0 lore raw

wonder if you still need that patch after following patch is a applied.

YH

arch/x86/kernel/aperture_64.c +1 -1
index 608152a..f645413 100644
@@ -278,7 +278,7 @@ void __init early_gart_iommu_check(void)
 		last_aper_enabled = aper_enabled;
 	}
 
-	if (!fix && !aper_enabled)
+	if (!fix /* && !aper_enabled*/)
 		return;
 
 	if (!aper_base || !aper_size || aper_base + aper_size > 0x100000000UL)
#1 lore raw
Quoted 9 lines · Yinghai Lu

wonder if you still need that patch after following patch is a applied.

YH

arch/x86/kernel/aperture_64.c +0 -0
index 608152a..f645413 100644

arch/x86/kernel/aperture_64.c void __init early_gart_iommu_check(void)

Quoted 9 lines
arch/x86/kernel/aperture_64.c +1 -2
@@ -278,7 +278,7 @@ void __init early_gart_iommu_check(void)
                last_aper_enabled = aper_enabled;
        }
 
-       if (!fix && !aper_enabled)
+       if (!fix /* && !aper_enabled*/)
                return;
 
        if (!aper_base || !aper_size || aper_base + aper_size > 0x100000000UL)
--

forget about it, it seem kevin is using 32 bit kernel.

YH