[Spice-devel] [PATCH xf86-video-qxl 13/13] qxl_driver: ifdef out qxl_wait_for_io_command if not XSPICE
Alon Levy
alevy at redhat.com
Mon Apr 9 10:33:19 PDT 2012
---
src/qxl_driver.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index eb09662..77fc40b 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -129,6 +129,7 @@ qxl_available_options (int chipid, int busid)
return DefaultOptions;
}
+#ifndef XSPICE
static void qxl_wait_for_io_command(qxl_screen_t *qxl)
{
struct QXLRam *ram_header = (void *)(
@@ -139,6 +140,7 @@ static void qxl_wait_for_io_command(qxl_screen_t *qxl)
}
ram_header->int_pending &= ~QXL_INTERRUPT_IO_CMD;
}
+#endif
void qxl_update_area(qxl_screen_t *qxl)
{
--
1.7.9.3
More information about the Spice-devel
mailing list