]> err.no Git - linux-2.6/commit
x86_64: off-by-two error in aperture.c
authorAndrew Hastings <abh@cray.com>
Fri, 11 May 2007 09:23:19 +0000 (11:23 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 11 May 2007 19:53:00 +0000 (12:53 -0700)
commit547c5355d1b1167af39e315c82aa9ff1398596f4
tree423d8e1473c5731040b35ae5665dc72f5233abb4
parentfd0581bbb40d8f4b0e4b3a4de2258a50df37bb57
x86_64: off-by-two error in aperture.c

I'm using a custom BIOS to configure the northbridge GART at address
0x80000000, size 2G.  Linux complains:

"Aperture from northbridge cpu 0 beyond 4GB. Ignoring."

I think there's an off-by-two error in arch/x86_64/kernel/aperture.c:

AK: use correct types for i386

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86_64/kernel/aperture.c
arch/x86_64/kernel/pci-gart.c
drivers/char/agp/amd64-agp.c