[Compile Regression in 2.4.25-pre8][PATCH 3/42]

Kronos
2004-02-02T18:21:57Z

agpgart_be.c:5647:17: warning: extra tokens at end of #undef directive

Fix is trivial.

diff -Nru -X dontdiff linux-2.4-vanilla/drivers/char/agp/agpgart_be.c linux-2.4/drivers/char/agp/agpgart_be.c
--- linux-2.4-vanilla/drivers/char/agp/agpgart_be.c Sat Jan 31 15:54:42 2004
+++ linux-2.4/drivers/char/agp/agpgart_be.c Sat Jan 31 16:17:28 2004
@@ -5644,7 +5644,7 @@
#define GET_PAGE_DIR_IDX(addr) (GET_PAGE_DIR_OFF(addr) - \
GET_PAGE_DIR_OFF(agp_bridge.gart_bus_addr))
#define GET_GATT_OFF(addr) ((addr & 0x003ff000) >> 12)
-#undef GET_GATT(addr)
+#undef GET_GATT
#define GET_GATT(addr) (ati_generic_private.gatt_pages[\
GET_PAGE_DIR_IDX(addr)]->remapped)

--
Reply-To: kronos@kronoz.cjb.net
Home: http://kronoz.cjb.net
Dicono che il cane sia il miglior amico dell'uomo. Secondo me non e`
vero. Quanti dei vostri amici avete fatto castrare, recentemente?