aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/agp/amd64-agp.c
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2010-09-03 18:39:39 +0200
committerIngo Molnar <mingo@elte.hu>2010-09-05 14:28:34 +0200
commit57ab43e33122ffdc2eebca5d6de035699f0a8c06 (patch)
tree1be8add962f7e870ac88194836e298c9ecc1a5be /drivers/char/agp/amd64-agp.c
parent2bfc96a127bc1cc94d26bfaa40159966064f9c8c (diff)
downloadmrst-s0i3-test-57ab43e33122ffdc2eebca5d6de035699f0a8c06.tar.gz
mrst-s0i3-test-57ab43e33122ffdc2eebca5d6de035699f0a8c06.tar.xz
mrst-s0i3-test-57ab43e33122ffdc2eebca5d6de035699f0a8c06.zip
x86, GART: Remove superfluous AMD64_GARTEN
There is a GARTEN so use that and drop the duplicate. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com> Cc: Dave Airlie <airlied@redhat.com> Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> LKML-Reference: <1283531981-7495-2-git-send-email-bp@amd64.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/char/agp/amd64-agp.c')
-rw-r--r--drivers/char/agp/amd64-agp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/agp/amd64-agp.c b/drivers/char/agp/amd64-agp.c
index 70312da4c96..bfe372b3d9d 100644
--- a/drivers/char/agp/amd64-agp.c
+++ b/drivers/char/agp/amd64-agp.c
@@ -199,7 +199,7 @@ static void amd64_cleanup(void)
struct pci_dev *dev = k8_northbridges[i];
/* disable gart translation */
pci_read_config_dword(dev, AMD64_GARTAPERTURECTL, &tmp);
- tmp &= ~AMD64_GARTEN;
+ tmp &= ~GARTEN;
pci_write_config_dword(dev, AMD64_GARTAPERTURECTL, tmp);
}
}