Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100351
b: refs/heads/master
c: a9c4e8f
h: refs/heads/master
i:
  100349: 0def8c4
  100347: 02b22c5
  100343: 8e27231
  100335: 66fd87d
  100319: ecf9cbe
  100287: 4c3e5c4
  100223: 9482a58
  100095: 982d6d6
  99839: 68d3e05
  99327: e206a8a
  98303: 8d3fd52
v: v3
  • Loading branch information
Arnd Bergmann authored and Jonathan Corbet committed Jun 20, 2008
1 parent 30b7721 commit 8a46db1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 48b81880519274d2a8b3e9919a47d91d05a1c964
refs/heads/master: a9c4e8f74ba26f10cf78fed7c5b863ea50988856
2 changes: 2 additions & 0 deletions trunk/drivers/char/hw_random/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/sched.h>
#include <linux/smp_lock.h>
#include <linux/init.h>
#include <linux/miscdevice.h>
#include <linux/delay.h>
Expand Down Expand Up @@ -86,6 +87,7 @@ 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;
}

Expand Down

0 comments on commit 8a46db1

Please sign in to comment.