Skip to content

Commit

Permalink
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
Browse files Browse the repository at this point in the history
…/git/geert/linux-m68k

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
  m68k: Update defconfigs for 2.6.30-rc3
  m68k,m68knommu: Wire up preadv and pwritev
  scsi: a4000 - Correct driver unregistration in case of failure
  • Loading branch information
Linus Torvalds committed Apr 24, 2009
2 parents 58be18c + adfe7c6 commit 198aa04
Show file tree
Hide file tree
Showing 16 changed files with 1,042 additions and 527 deletions.
163 changes: 104 additions & 59 deletions arch/m68k/configs/amiga_defconfig

Large diffs are not rendered by default.

120 changes: 81 additions & 39 deletions arch/m68k/configs/apollo_defconfig

Large diffs are not rendered by default.

155 changes: 101 additions & 54 deletions arch/m68k/configs/atari_defconfig

Large diffs are not rendered by default.

119 changes: 80 additions & 39 deletions arch/m68k/configs/bvme6000_defconfig

Large diffs are not rendered by default.

120 changes: 81 additions & 39 deletions arch/m68k/configs/hp300_defconfig

Large diffs are not rendered by default.

125 changes: 84 additions & 41 deletions arch/m68k/configs/mac_defconfig

Large diffs are not rendered by default.

157 changes: 99 additions & 58 deletions arch/m68k/configs/multi_defconfig

Large diffs are not rendered by default.

119 changes: 80 additions & 39 deletions arch/m68k/configs/mvme147_defconfig

Large diffs are not rendered by default.

119 changes: 80 additions & 39 deletions arch/m68k/configs/mvme16x_defconfig

Large diffs are not rendered by default.

122 changes: 82 additions & 40 deletions arch/m68k/configs/q40_defconfig

Large diffs are not rendered by default.

120 changes: 81 additions & 39 deletions arch/m68k/configs/sun3_defconfig

Large diffs are not rendered by default.

120 changes: 81 additions & 39 deletions arch/m68k/configs/sun3x_defconfig

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion arch/m68k/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -332,10 +332,12 @@
#define __NR_dup3 326
#define __NR_pipe2 327
#define __NR_inotify_init1 328
#define __NR_preadv 329
#define __NR_pwritev 330

#ifdef __KERNEL__

#define NR_syscalls 329
#define NR_syscalls 331

#define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR
Expand Down
2 changes: 2 additions & 0 deletions arch/m68k/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -753,4 +753,6 @@ sys_call_table:
.long sys_dup3
.long sys_pipe2
.long sys_inotify_init1
.long sys_preadv
.long sys_pwritev /* 330 */

2 changes: 2 additions & 0 deletions arch/m68knommu/kernel/syscalltable.S
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,8 @@ ENTRY(sys_call_table)
.long sys_dup3
.long sys_pipe2
.long sys_inotify_init1
.long sys_preadv
.long sys_pwritev /* 330 */

.rept NR_syscalls-(.-sys_call_table)/4
.long sys_ni_syscall
Expand Down
2 changes: 1 addition & 1 deletion drivers/scsi/a4000t.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ static int __init a4000t_scsi_init(void)
a4000t_scsi_device = platform_device_register_simple("a4000t-scsi",
-1, NULL, 0);
if (IS_ERR(a4000t_scsi_device)) {
platform_driver_register(&a4000t_scsi_driver);
platform_driver_unregister(&a4000t_scsi_driver);
return PTR_ERR(a4000t_scsi_device);
}

Expand Down

0 comments on commit 198aa04

Please sign in to comment.