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

[Xen-changelog] This small patch fixes new make-dependencies of the secpol_tool



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 0ee5869b4894b70ff08c2b16b19c0ef27def4558
# Parent  8f02d7cb222aadddd50b9447f2fe14e06be391ac
Fix a couple of problems in the TPM backend driver.
Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
---
 linux-2.6-xen-sparse/drivers/char/tpm/tpm_xen.c      |    2 +-
 linux-2.6-xen-sparse/drivers/xen/tpmback/interface.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r 8f02d7cb222a -r 0ee5869b4894 
linux-2.6-xen-sparse/drivers/char/tpm/tpm_xen.c
--- a/linux-2.6-xen-sparse/drivers/char/tpm/tpm_xen.c   Wed May 10 15:49:47 
2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/char/tpm/tpm_xen.c   Wed May 10 15:58:16 
2006 +0100
@@ -745,9 +745,9 @@ failexit:
 
 static void __exit tpmif_exit(void)
 {
+       exit_tpm_xenbus();
        cleanup_vtpm();
        tpm_private_put();
-       exit_tpm_xenbus();
        gnttab_free_grant_references(gref_head);
 }
 
diff -r 8f02d7cb222a -r 0ee5869b4894 
linux-2.6-xen-sparse/drivers/xen/tpmback/interface.c
--- a/linux-2.6-xen-sparse/drivers/xen/tpmback/interface.c      Wed May 10 
15:49:47 2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/tpmback/interface.c      Wed May 10 
15:58:16 2006 +0100
@@ -179,7 +179,7 @@ void __init tpmif_interface_init(void)
                                         0, 0, NULL, NULL);
 }
 
-void __init tpmif_interface_exit(void)
+void __exit tpmif_interface_exit(void)
 {
        kmem_cache_destroy(tpmif_cachep);
 }

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