diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-02-10 10:44:05 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 19:51:22 +0100 |
commit | 99b0278f95fc9d55adf65133dc678167a88b632a (patch) | |
tree | 396a5a030987dc0da50e4594da5b86afd8a49105 /arch/um/drivers/random.c | |
parent | [PATCH] uml: use LIST_HEAD where possible (diff) | |
download | linux-99b0278f95fc9d55adf65133dc678167a88b632a.tar.xz linux-99b0278f95fc9d55adf65133dc678167a88b632a.zip |
[PATCH] uml: locking commentary in the random driver
Comment the lack of locking.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/drivers/random.c')
-rw-r--r-- | arch/um/drivers/random.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/drivers/random.c b/arch/um/drivers/random.c index 73b2bdd6d2d3..e942e836f995 100644 --- a/arch/um/drivers/random.c +++ b/arch/um/drivers/random.c @@ -78,6 +78,7 @@ static const struct file_operations rng_chrdev_ops = { .read = rng_dev_read, }; +/* rng_init shouldn't be called more than once at boot time */ static struct miscdevice rng_miscdev = { RNG_MISCDEV_MINOR, RNG_MODULE_NAME, |