[Spice-devel,xf86-video-qxl,13/13] qxl_driver: ifdef out qxl_wait_for_io_command if not XSPICE

Submitted by Alon Levy on April 9, 2012, 5:33 p.m.

Details

Message ID 1333992799-14302-14-git-send-email-alevy@redhat.com
State New
Headers show

Not browsing as part of any series.

Commit Message

Alon Levy April 9, 2012, 5:33 p.m.
---
 src/qxl_driver.c |    2 ++
 1 file changed, 2 insertions(+)

Patch hide | download patch | download mbox

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)
 {

Comments

ACK
On Mon, Apr 09, 2012 at 08:33:19PM +0300, Alon Levy wrote:
> ---
>  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
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel