forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/arch/ia64/include/asm/agp.h
....@@ -14,8 +14,8 @@
1414 * in coherent mode, which lets us map the AGP memory as normal (write-back) memory
1515 * (unlike x86, where it gets mapped "write-coalescing").
1616 */
17
-#define map_page_into_agp(page) /* nothing */
18
-#define unmap_page_from_agp(page) /* nothing */
17
+#define map_page_into_agp(page) do { } while (0)
18
+#define unmap_page_from_agp(page) do { } while (0)
1919 #define flush_agp_cache() mb()
2020
2121 /* GATT allocation. Returns/accepts GATT kernel virtual address. */