]> git.hungrycats.org Git - linux/commitdiff
[AGPGART] Fix up missing brackets on defines.
authorDave Jones <davej@redhat.com>
Fri, 5 Sep 2003 21:47:15 +0000 (22:47 +0100)
committerDave Jones <davej@redhat.com>
Fri, 5 Sep 2003 21:47:15 +0000 (22:47 +0100)
drivers/char/agp/agp.h
drivers/char/agp/amd64-agp.c

index 2a4b9e0dc36323949675c5c9e16396c096070b6a..ee679cbdf6d2431303693a8545a5d5870c36d962 100644 (file)
@@ -302,7 +302,7 @@ struct agp_bridge_data {
 #define AMD64_GARTAPERTUREBASE 0x94
 #define AMD64_GARTTABLEBASE    0x98
 #define AMD64_GARTCACHECTL             0x9c
-#define AMD64_GARTEN           1<<0
+#define AMD64_GARTEN           (1<<0)
 
 /* ALi registers */
 #define ALI_AGPCTRL                    0xb8
index 8ae550973d4e1c7a67e7d526e29666a05120d6ee..f60cb63720d8762164fb4eba28383472e61aab7a 100644 (file)
 #define GPTE_COHERENT  2
 
 /* Aperture control register bits. */
-#define GARTEN         1<<0
-#define DISGARTCPU     1<<4
-#define DISGARTIO      1<<5
+#define GARTEN         (1<<0)
+#define DISGARTCPU     (1<<4)
+#define DISGARTIO      (1<<5)
 
 /* GART cache control register bits. */
-#define INVGART                1<<0
-#define GARTPTEERR     1<<1
+#define INVGART                (1<<0)
+#define GARTPTEERR     (1<<1)
 
 static int nr_garts;
 static struct pci_dev * hammers[MAX_HAMMER_GARTS];