[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-3.1-testing] fbfront: Fix no-kbd-event case



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1203345215 0
# Node ID 48b10874f4e847c5549b3edb05d08cd352ab04af
# Parent  c4e0558a0385275bd9ba1086163638c922c596ca
fbfront: Fix no-kbd-event case
out_cons shouldn't even be used.

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
linux-2.6.18-xen changeset:   418:d9eaaff9a9bdb37b1aec92e071dc47e038bbd2c5
linux-2.6.18-xen date:        Thu Feb 14 09:25:05 2008 +0000
---
 linux-2.6-xen-sparse/drivers/xen/fbfront/xenkbd.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r c4e0558a0385 -r 48b10874f4e8 
linux-2.6-xen-sparse/drivers/xen/fbfront/xenkbd.c
--- a/linux-2.6-xen-sparse/drivers/xen/fbfront/xenkbd.c Mon Feb 18 14:33:11 
2008 +0000
+++ b/linux-2.6-xen-sparse/drivers/xen/fbfront/xenkbd.c Mon Feb 18 14:33:35 
2008 +0000
@@ -53,7 +53,7 @@ static irqreturn_t input_handler(int rq,
        __u32 cons, prod;
 
        prod = page->in_prod;
-       if (prod == page->out_cons)
+       if (prod == page->in_cons)
                return IRQ_HANDLED;
        rmb();                  /* ensure we see ring contents up to prod */
        for (cons = page->in_cons; cons != prod; cons++) {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.