agp: define proper stubs for empty helpers
[sfrench/cifs-2.6.git] / arch / parisc / include / asm / agp.h
index cb04470e63d0c7c3c8e43c81fd09267a9f2c1c87..14ae54cfd36880ae5fe496804996d68cf3a83382 100644 (file)
@@ -8,8 +8,8 @@
  *
  */
 
-#define map_page_into_agp(page)                /* nothing */
-#define unmap_page_from_agp(page)      /* nothing */
+#define map_page_into_agp(page)                do { } while (0)
+#define unmap_page_from_agp(page)      do { } while (0)
 #define flush_agp_cache()              mb()
 
 /* GATT allocation. Returns/accepts GATT kernel virtual address. */