x86 gart: factor out common code
commit3bb6fbf9969a8bbe4892968659239273d092e78a
authorPavel Machek <pavel@ucw.cz>
Tue, 15 Apr 2008 10:43:57 +0000 (15 12:43 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 12 May 2008 19:28:10 +0000 (12 21:28 +0200)
tree26ede22e0622abfbb585cd83199b2615b4b4542d
parent330fce23dab6e6a3d1979e55f27aba4c0c301331
x86 gart: factor out common code

Cleanup gart handling on amd64 a bit: move common code into
enable_gart_translation , and use symbolic register names where
appropriate.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/pci-gart_64.c
drivers/char/agp/amd64-agp.c
include/asm-x86/gart.h