]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] x86_64: Fix off by one in IOMMU check
authorAndi Kleen <ak@suse.de>
Wed, 11 Jan 2006 21:44:27 +0000 (22:44 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 03:04:54 +0000 (19:04 -0800)
commitca8642f606ce22de23bae08a5044067f98de855b
tree143dd169cbba9d58629ca74d618cbfa41964c2f8
parentd25bf7e5fe73b5b6d2246ab0be08ae35d718456b
[PATCH] x86_64: Fix off by one in IOMMU check

Fix off by one when checking if the machine has enougn memory to need IOMMU
This caused the IOMMUs to be needlessly enabled for mem=4G

Based on a patch from Jon Mason

Signed-off-by: jdmason@us.ibm.com
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/aperture.c
arch/x86_64/kernel/io_apic.c
arch/x86_64/kernel/pci-gart.c
arch/x86_64/mm/init.c