Skip to content

Commit a52e838

Browse files
author
Linus Torvalds
committed
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
2 parents be9d122 + da16054 commit a52e838

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎arch/sparc64/mm/fault.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ static void bad_kernel_pc(struct pt_regs *regs)
109109
* this. Additionally, to prevent kswapd from ripping ptes from
110110
* under us, raise interrupts around the time that we look at the
111111
* 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.
113113
*/
114114
static unsigned int get_user_insn(unsigned long tpc)
115115
{

‎drivers/sbus/char/openprom.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,8 @@ static long openprom_compat_ioctl(struct file *file, unsigned int cmd,
596596
lock_kernel();
597597
break;
598598
}
599+
600+
return rval;
599601
}
600602

601603
static int openprom_open(struct inode * inode, struct file * file)
@@ -623,6 +625,7 @@ static struct file_operations openprom_fops = {
623625
.owner = THIS_MODULE,
624626
.llseek = no_llseek,
625627
.ioctl = openprom_ioctl,
628+
.compat_ioctl = openprom_compat_ioctl,
626629
.open = openprom_open,
627630
.release = openprom_release,
628631
};

0 commit comments

Comments
 (0)