[patch 19/28] hw_random: Remove BKL from core
From: Thomas Gleixner
Date: Sat Oct 10 2009 - 11:41:23 EST
hw_random core is completely serialized with rng_mutex. No need for
the cycle_kernel_lock() magic.
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
---
drivers/char/hw_random/core.c | 1 -
1 file changed, 1 deletion(-)
Index: linux-2.6-tip/drivers/char/hw_random/core.c
===================================================================
--- linux-2.6-tip.orig/drivers/char/hw_random/core.c
+++ linux-2.6-tip/drivers/char/hw_random/core.c
@@ -87,7 +87,6 @@ static int rng_dev_open(struct inode *in
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/