diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-08 13:23:00 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-08 13:23:00 -0500 |
commit | a52e8381c430896d3bd6065a34fda99cb5c74c82 (patch) | |
tree | 549c65dab5e5b2a0358ff45a3bcd37f2e37ffec4 | |
parent | be9d122730c878baafe11e70d1436faac229f2fc (diff) | |
parent | da1605465ebdb9dc25296a354394086cd559c243 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
-rw-r--r-- | arch/sparc64/mm/fault.c | 2 | ||||
-rw-r--r-- | drivers/sbus/char/openprom.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/arch/sparc64/mm/fault.c b/arch/sparc64/mm/fault.c index 31fbc67719a1..3be278d916db 100644 --- a/arch/sparc64/mm/fault.c +++ b/arch/sparc64/mm/fault.c | |||
@@ -109,7 +109,7 @@ static void bad_kernel_pc(struct pt_regs *regs) | |||
109 | * this. Additionally, to prevent kswapd from ripping ptes from | 109 | * this. Additionally, to prevent kswapd from ripping ptes from |
110 | * under us, raise interrupts around the time that we look at the | 110 | * under us, raise interrupts around the time that we look at the |
111 | * pte, kswapd will have to wait to get his smp ipi response from | 111 | * pte, kswapd will have to wait to get his smp ipi response from |
112 | * us. This saves us having to get page_table_lock. | 112 | * us. vmtruncate likewise. This saves us having to get pte lock. |
113 | */ | 113 | */ |
114 | static unsigned int get_user_insn(unsigned long tpc) | 114 | static unsigned int get_user_insn(unsigned long tpc) |
115 | { | 115 | { |
diff --git a/drivers/sbus/char/openprom.c b/drivers/sbus/char/openprom.c index 5028ac214326..383a95f34a0d 100644 --- a/drivers/sbus/char/openprom.c +++ b/drivers/sbus/char/openprom.c | |||
@@ -596,6 +596,8 @@ static long openprom_compat_ioctl(struct file *file, unsigned int cmd, | |||
596 | lock_kernel(); | 596 | lock_kernel(); |
597 | break; | 597 | break; |
598 | } | 598 | } |
599 | |||
600 | return rval; | ||
599 | } | 601 | } |
600 | 602 | ||
601 | static int openprom_open(struct inode * inode, struct file * file) | 603 | static int openprom_open(struct inode * inode, struct file * file) |
@@ -623,6 +625,7 @@ static struct file_operations openprom_fops = { | |||
623 | .owner = THIS_MODULE, | 625 | .owner = THIS_MODULE, |
624 | .llseek = no_llseek, | 626 | .llseek = no_llseek, |
625 | .ioctl = openprom_ioctl, | 627 | .ioctl = openprom_ioctl, |
628 | .compat_ioctl = openprom_compat_ioctl, | ||
626 | .open = openprom_open, | 629 | .open = openprom_open, |
627 | .release = openprom_release, | 630 | .release = openprom_release, |
628 | }; | 631 | }; |