]> git.baikalelectronics.ru Git - kernel.git/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)
commit3864f8b2d4d2d80c5bdd6336bd2b282577d72872
tree423d8e1473c5731040b35ae5665dc72f5233abb4
parent739833b05bcde5a9277b16752a8bb90e85d73f4f
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