Module Name: src
Committed By: christos
Date: Sun Jan 22 16:35:39 UTC 2012
Modified Files:
src/sys/dev/ic: tpm.c
Log Message:
as jared noted, this is not mpsafe.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/ic/tpm.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ic/tpm.c
diff -u src/sys/dev/ic/tpm.c:1.1 src/sys/dev/ic/tpm.c:1.2
--- src/sys/dev/ic/tpm.c:1.1 Sun Jan 22 01:44:28 2012
+++ src/sys/dev/ic/tpm.c Sun Jan 22 11:35:39 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: tpm.c,v 1.1 2012/01/22 06:44:28 christos Exp $ */
+/* $NetBSD: tpm.c,v 1.2 2012/01/22 16:35:39 christos Exp $ */
/*
* Copyright (c) 2008, 2009 Michael Shalayeff
* Copyright (c) 2009, 2010 Hans-J�rg H�xer
@@ -18,7 +18,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tpm.c,v 1.1 2012/01/22 06:44:28 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tpm.c,v 1.2 2012/01/22 16:35:39 christos Exp $");
/* #define TPM_DEBUG */
@@ -76,7 +76,7 @@ extern struct cfdriver tpm_cd;
const struct cdevsw tpm_cdevsw = {
tpmopen, tpmclose, tpmread, tpmwrite, tpmioctl,
- nostop, notty, nopoll, nommap, nokqfilter, D_OTHER | D_MPSAFE,
+ nostop, notty, nopoll, nommap, nokqfilter, D_OTHER,
};
/* Probe TPM using TIS 1.2 interface. */