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

[Xen-changelog] [xen-unstable] linux, tpm: Fix argument to grant table operation



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1172247847 0
# Node ID 58086aa7c70ab9ca2a8c7c90f44c4701dcc02ce4
# Parent  e21834bc78f2163e4d009e1891457565731adc72
linux, tpm: Fix argument to grant table operation
Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
---
 linux-2.6-xen-sparse/drivers/char/tpm/tpm_xen.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r e21834bc78f2 -r 58086aa7c70a 
linux-2.6-xen-sparse/drivers/char/tpm/tpm_xen.c
--- a/linux-2.6-xen-sparse/drivers/char/tpm/tpm_xen.c   Fri Feb 23 16:17:00 
2007 +0000
+++ b/linux-2.6-xen-sparse/drivers/char/tpm/tpm_xen.c   Fri Feb 23 16:24:07 
2007 +0000
@@ -641,7 +641,7 @@ static int tpm_xmit(struct tpm_private *
                }
                gnttab_grant_foreign_access_ref( tx->ref,
                                                 tp->backend_id,
-                                                (tx->addr >> PAGE_SHIFT),
+                                                virt_to_mfn(txb->data),
                                                 0 /*RW*/);
                wmb();
        }

_______________________________________________
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®.