Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100331
b: refs/heads/master
c: 52e7c5e
h: refs/heads/master
i:
  100329: 4a23b46
  100327: 8312038
v: v3
  • Loading branch information
Arnd Bergmann authored and Jonathan Corbet committed Jun 20, 2008
1 parent 324bb0a commit f799810
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 864fe51671c9e44fb9d02765623daac9acc26a8b
refs/heads/master: 52e7c5e08201e20ddbe93cb1977869c38072bc2f
9 changes: 8 additions & 1 deletion trunk/arch/mips/basler/excite/excite_iodev.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/miscdevice.h>
#include <linux/smp_lock.h>

#include "excite_iodev.h"

Expand Down Expand Up @@ -110,8 +111,14 @@ static int __exit iodev_remove(struct device *dev)

static int iodev_open(struct inode *i, struct file *f)
{
return request_irq(iodev_irq, iodev_irqhdl, IRQF_DISABLED,
int ret;

lock_kernel();
ret = request_irq(iodev_irq, iodev_irqhdl, IRQF_DISABLED,
iodev_name, &miscdev);
unlock_kernel();

return ret;
}

static int iodev_release(struct inode *i, struct file *f)
Expand Down

0 comments on commit f799810

Please sign in to comment.