diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2010-09-03 18:39:39 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-09-05 14:28:34 +0200 |
commit | 57ab43e33122ffdc2eebca5d6de035699f0a8c06 (patch) | |
tree | 1be8add962f7e870ac88194836e298c9ecc1a5be /drivers/char/agp/amd64-agp.c | |
parent | Linux 2.6.36-rc3 (diff) | |
download | linux-57ab43e33122ffdc2eebca5d6de035699f0a8c06.tar.xz linux-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/agp/amd64-agp.c b/drivers/char/agp/amd64-agp.c index 70312da4c968..bfe372b3d9db 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); } } |