Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic as jared noted, this is not mpsafe.



details:   https://anonhg.NetBSD.org/src/rev/fcb289f5180d
branches:  trunk
changeset: 772962:fcb289f5180d
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 22 16:35:39 2012 +0000

description:
as jared noted, this is not mpsafe.

diffstat:

 sys/dev/ic/tpm.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d29e06aa09f1 -r fcb289f5180d sys/dev/ic/tpm.c
--- a/sys/dev/ic/tpm.c  Sun Jan 22 16:09:08 2012 +0000
+++ b/sys/dev/ic/tpm.c  Sun Jan 22 16:35:39 2012 +0000
@@ -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 @@
  
 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. */



Home | Main Index | Thread Index | Old Index