[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-a09ba31a54dbc9a548c4ff90619e4c7128a4282e@git.kernel.org>
Date: Wed, 14 Oct 2009 15:49:40 GMT
From: tip-bot for Thomas Gleixner <tglx@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
herbert@...dor.apana.org.au, tglx@...utronix.de
Subject: [tip:bkl/drivers] hw_random: Remove BKL from core
Commit-ID: a09ba31a54dbc9a548c4ff90619e4c7128a4282e
Gitweb: http://git.kernel.org/tip/a09ba31a54dbc9a548c4ff90619e4c7128a4282e
Author: Thomas Gleixner <tglx@...utronix.de>
AuthorDate: Sat, 10 Oct 2009 12:36:32 +0200
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Wed, 14 Oct 2009 17:36:50 +0200
hw_random: Remove BKL from core
hw_random core is completely serialized with rng_mutex. No need for
the cycle_kernel_lock() magic.
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
LKML-Reference: <20091010153349.844488872@...utronix.de>
Cc: Herbert Xu <herbert@...dor.apana.org.au>
---
drivers/char/hw_random/core.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/char/hw_random/core.c b/drivers/char/hw_random/core.c
index 1573aeb..75fb859 100644
--- a/drivers/char/hw_random/core.c
+++ b/drivers/char/hw_random/core.c
@@ -87,7 +87,6 @@ static int rng_dev_open(struct inode *inode, struct file *filp)
return -EINVAL;
if (filp->f_mode & FMODE_WRITE)
return -EINVAL;
- cycle_kernel_lock();
return 0;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists