aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-sh/thread_info.h2
-rw-r--r--include/asm-sh/unistd.h66
2 files changed, 36 insertions, 32 deletions
diff --git a/include/asm-sh/thread_info.h b/include/asm-sh/thread_info.h
index b986a1914472..5eb874b065a6 100644
--- a/include/asm-sh/thread_info.h
+++ b/include/asm-sh/thread_info.h
@@ -94,6 +94,7 @@ static inline struct thread_info *current_thread_info(void)
94#define TIF_NOTIFY_RESUME 1 /* resumption notification requested */ 94#define TIF_NOTIFY_RESUME 1 /* resumption notification requested */
95#define TIF_SIGPENDING 2 /* signal pending */ 95#define TIF_SIGPENDING 2 /* signal pending */
96#define TIF_NEED_RESCHED 3 /* rescheduling necessary */ 96#define TIF_NEED_RESCHED 3 /* rescheduling necessary */
97#define TIF_RESTORE_SIGMASK 4 /* restore signal mask in do_signal() */
97#define TIF_USEDFPU 16 /* FPU was used by this task this quantum (SMP) */ 98#define TIF_USEDFPU 16 /* FPU was used by this task this quantum (SMP) */
98#define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling TIF_NEED_RESCHED */ 99#define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling TIF_NEED_RESCHED */
99#define TIF_MEMDIE 18 100#define TIF_MEMDIE 18
@@ -102,6 +103,7 @@ static inline struct thread_info *current_thread_info(void)
102#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME) 103#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)
103#define _TIF_SIGPENDING (1<<TIF_SIGPENDING) 104#define _TIF_SIGPENDING (1<<TIF_SIGPENDING)
104#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED) 105#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED)
106#define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK)
105#define _TIF_USEDFPU (1<<TIF_USEDFPU) 107#define _TIF_USEDFPU (1<<TIF_USEDFPU)
106#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG) 108#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)
107 109
diff --git a/include/asm-sh/unistd.h b/include/asm-sh/unistd.h
index 49c6a6ee0ab2..080e5729f17d 100644
--- a/include/asm-sh/unistd.h
+++ b/include/asm-sh/unistd.h
@@ -292,39 +292,40 @@
292#define __NR_mq_getsetattr (__NR_mq_open+5) 292#define __NR_mq_getsetattr (__NR_mq_open+5)
293#define __NR_kexec_load 283 293#define __NR_kexec_load 283
294#define __NR_waitid 284 294#define __NR_waitid 284
295#define __NR_add_key 285 295/* #define __NR_sys_setaltroot 285 */
296#define __NR_request_key 286 296#define __NR_add_key 286
297#define __NR_keyctl 287 297#define __NR_request_key 287
298#define __NR_ioprio_set 288 298#define __NR_keyctl 288
299#define __NR_ioprio_get 289 299#define __NR_ioprio_set 289
300#define __NR_inotify_init 290 300#define __NR_ioprio_get 290
301#define __NR_inotify_add_watch 291 301#define __NR_inotify_init 291
302#define __NR_inotify_rm_watch 292 302#define __NR_inotify_add_watch 292
303#define __NR_migrate_pages 293 303#define __NR_inotify_rm_watch 293
304#define __NR_openat 294 304#define __NR_migrate_pages 294
305#define __NR_mkdirat 295 305#define __NR_openat 295
306#define __NR_mknodat 296 306#define __NR_mkdirat 296
307#define __NR_fchownat 297 307#define __NR_mknodat 297
308#define __NR_futimesat 298 308#define __NR_fchownat 298
309#define __NR_fstatat64 299 309#define __NR_futimesat 299
310#define __NR_unlinkat 300 310#define __NR_newfstatat 300
311#define __NR_renameat 301 311#define __NR_unlinkat 301
312#define __NR_linkat 302 312#define __NR_renameat 302
313#define __NR_symlinkat 303 313#define __NR_linkat 303
314#define __NR_readlinkat 304 314#define __NR_symlinkat 304
315#define __NR_fchmodat 305 315#define __NR_readlinkat 305
316#define __NR_faccessat 305 316#define __NR_fchmodat 306
317#define __NR_pselect6 307 317#define __NR_faccessat 307
318#define __NR_ppoll 308 318#define __NR_pselect6 308
319#define __NR_unshare 309 319#define __NR_ppoll 309
320#define __NR_set_robust_list 310 320#define __NR_unshare 310
321#define __NR_get_robust_list 311 321#define __NR_set_robust_list 311
322#define __NR_splice 312 322#define __NR_get_robust_list 312
323#define __NR_sync_file_range 313 323#define __NR_splice 313
324#define __NR_tee 314 324#define __NR_sync_file_range 314
325#define __NR_vmsplice 315 325#define __NR_tee 315
326#define __NR_vmsplice 316
326 327
327#define NR_syscalls 316 328#define NR_syscalls 317
328 329
329#ifdef __KERNEL__ 330#ifdef __KERNEL__
330 331
@@ -466,6 +467,7 @@ __syscall_return(type,__sc0); \
466#define __ARCH_WANT_SYS_SIGPENDING 467#define __ARCH_WANT_SYS_SIGPENDING
467#define __ARCH_WANT_SYS_SIGPROCMASK 468#define __ARCH_WANT_SYS_SIGPROCMASK
468#define __ARCH_WANT_SYS_RT_SIGACTION 469#define __ARCH_WANT_SYS_RT_SIGACTION
470#define __ARCH_WANT_SYS_RT_SIGSUSPEND
469 471
470#ifdef __KERNEL_SYSCALLS__ 472#ifdef __KERNEL_SYSCALLS__
471 473