Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sh: Fix syscall numbering breakage.

We accidentally broke the inotify syscalls, fix those up again.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

+13 -13
+4 -4
arch/sh/kernel/syscalls.S
··· 319 319 .long sys_mq_getsetattr 320 320 .long sys_kexec_load 321 321 .long sys_waitid 322 - .long sys_ni_syscall /* 285 */ 323 - .long sys_add_key 322 + .long sys_add_key /* 285 */ 324 323 .long sys_request_key 325 324 .long sys_keyctl 326 325 .long sys_ioprio_set 327 - .long sys_ioprio_get /* 290 */ 328 - .long sys_inotify_init 326 + .long sys_ioprio_get 327 + .long sys_inotify_init /* 290 */ 329 328 .long sys_inotify_add_watch 330 329 .long sys_inotify_rm_watch 330 + .long sys_ni_syscall 331 331 .long sys_migrate_pages 332 332 .long sys_openat /* 295 */ 333 333 .long sys_mkdirat
+9 -9
include/asm-sh/unistd.h
··· 292 292 #define __NR_mq_getsetattr (__NR_mq_open+5) 293 293 #define __NR_kexec_load 283 294 294 #define __NR_waitid 284 295 - /* #define __NR_sys_setaltroot 285 */ 296 - #define __NR_add_key 286 297 - #define __NR_request_key 287 298 - #define __NR_keyctl 288 299 - #define __NR_ioprio_set 289 300 - #define __NR_ioprio_get 290 301 - #define __NR_inotify_init 291 302 - #define __NR_inotify_add_watch 292 303 - #define __NR_inotify_rm_watch 293 295 + #define __NR_add_key 285 296 + #define __NR_request_key 286 297 + #define __NR_keyctl 287 298 + #define __NR_ioprio_set 288 299 + #define __NR_ioprio_get 289 300 + #define __NR_inotify_init 290 301 + #define __NR_inotify_add_watch 291 302 + #define __NR_inotify_rm_watch 292 303 + /* 293 is unused */ 304 304 #define __NR_migrate_pages 294 305 305 #define __NR_openat 295 306 306 #define __NR_mkdirat 296