Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next-2.6: sparc: Set UTS_MACHINE correctly. sparc,leon: init_leon srmmu cleanup sparc32: Remove early interrupt enable. sparc, leon: Added Aeroflex Gaisler entry in manufacturer_info structure sparc64: Faster early-boot framebuffer console. Revert "sparc: Make atomic locks raw" sparc: remove unused nfsd #includes sparc: Fixup last users of irq_chip->typename Added sparc_leon3_snooping_enabled() and converted extern inline to static inline No auxio on LEON apbuart: Use of_find_node_by_path to find root node. sparc: Replace old style lock initializer sparc: Make atomic locks raw apbuart: Fix build and missing driver unregister. apbuart: Kill dependency on deprecated Sparc-only PROM interfaces. apbuart: Fix build warning. sparc: Support for GRLIB APBUART serial port watchdog: Remove BKL from rio watchdog driver sparc: Remove BKL from apc sparc,leon: Sparc-Leon SMP support
这个提交包含在:
@@ -10,7 +10,6 @@
|
||||
#include <linux/errno.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/miscdevice.h>
|
||||
#include <linux/smp_lock.h>
|
||||
#include <linux/watchdog.h>
|
||||
#include <linux/of.h>
|
||||
#include <linux/of_device.h>
|
||||
@@ -75,7 +74,6 @@ static void riowd_writereg(struct riowd *p, u8 val, int index)
|
||||
|
||||
static int riowd_open(struct inode *inode, struct file *filp)
|
||||
{
|
||||
cycle_kernel_lock();
|
||||
nonseekable_open(inode, filp);
|
||||
return 0;
|
||||
}
|
||||
@@ -194,6 +192,8 @@ static int __devinit riowd_probe(struct of_device *op,
|
||||
printk(KERN_ERR PFX "Cannot map registers.\n");
|
||||
goto out_free;
|
||||
}
|
||||
/* Make miscdev useable right away */
|
||||
riowd_device = p;
|
||||
|
||||
err = misc_register(&riowd_miscdev);
|
||||
if (err) {
|
||||
@@ -205,10 +205,10 @@ static int __devinit riowd_probe(struct of_device *op,
|
||||
"regs at %p\n", riowd_timeout, p->regs);
|
||||
|
||||
dev_set_drvdata(&op->dev, p);
|
||||
riowd_device = p;
|
||||
return 0;
|
||||
|
||||
out_iounmap:
|
||||
riowd_device = NULL;
|
||||
of_iounmap(&op->resource[0], p->regs, 2);
|
||||
|
||||
out_free:
|
||||
|
在新工单中引用
屏蔽一个用户