Skip to content

Commit

Permalink
Merge branch 'for-linus' of git://www.jni.nu/cris
Browse files Browse the repository at this point in the history
* 'for-linus' of git://www.jni.nu/cris:
  Correct auto-restart of syscalls via restartblock
  CRISv10: Fix return before mutex_unlock in pcf8563
  Drop the CRISv32 version of pcf8563
  • Loading branch information
torvalds committed Mar 28, 2011
2 parents 7f5fe3e + 33dc0ad commit 5847098
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 382 deletions.
3 changes: 1 addition & 2 deletions arch/cris/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,7 @@ config ETRAX_RTC
choice
prompt "RTC chip"
depends on ETRAX_RTC
default ETRAX_PCF8563 if ETRAX_ARCH_V32
default ETRAX_DS1302 if ETRAX_ARCH_V10
default ETRAX_DS1302

config ETRAX_DS1302
depends on ETRAX_ARCH_V10
Expand Down
2 changes: 1 addition & 1 deletion arch/cris/arch-v10/drivers/pcf8563.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ static long pcf8563_unlocked_ioctl(struct file *filp, unsigned int cmd, unsigned
int ret;

mutex_lock(&pcf8563_mutex);
return pcf8563_ioctl(filp, cmd, arg);
ret = pcf8563_ioctl(filp, cmd, arg);
mutex_unlock(&pcf8563_mutex);

return ret;
Expand Down
2 changes: 1 addition & 1 deletion arch/cris/arch-v10/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ void do_signal(int canrestart, struct pt_regs *regs)
RESTART_CRIS_SYS(regs);
}
if (regs->r10 == -ERESTART_RESTARTBLOCK) {
regs->r10 = __NR_restart_syscall;
regs->r9 = __NR_restart_syscall;
regs->irp -= 2;
}
}
Expand Down
1 change: 0 additions & 1 deletion arch/cris/arch-v32/drivers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ obj-$(CONFIG_ETRAX_AXISFLASHMAP) += axisflashmap.o
obj-$(CONFIG_ETRAXFS) += mach-fs/
obj-$(CONFIG_CRIS_MACH_ARTPEC3) += mach-a3/
obj-$(CONFIG_ETRAX_IOP_FW_LOAD) += iop_fw_load.o
obj-$(CONFIG_ETRAX_PCF8563) += pcf8563.o
obj-$(CONFIG_ETRAX_I2C) += i2c.o
obj-$(CONFIG_ETRAX_SYNCHRONOUS_SERIAL) += sync_serial.o
obj-$(CONFIG_PCI) += pci/
Expand Down
Loading

0 comments on commit 5847098

Please sign in to comment.