]> granicus.if.org Git - strace/commitdiff
2002-12-15 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Sun, 15 Dec 2002 23:58:21 +0000 (23:58 +0000)
committerRoland McGrath <roland@redhat.com>
Sun, 15 Dec 2002 23:58:21 +0000 (23:58 +0000)
* linux/ia64/syscallent.h: Remove macros for sys_delete_module,
sys_nanosleep, both already in linux/dummy.h.
* mem.c: Add sys_{get,set}_thread_area.
* linux/syscall.h: Declare them.
* linux/syscallent.h: Update the table for these.
* linux/dummy.h (sys_modify_ldt): Define only #ifndef I386.
(sys_get_thread_area, sys_set_thread_area): New macros #ifndef I386.

linux/dummy.h

index cd6006bca3676f994a8263de0925bf3fc1ccd4df..c65aee2fb3b1f336228720a68856eb98e2825443 100644 (file)
 #define        sys_syslog              printargs
 #define        sys_iopl                printargs
 #define        sys_vm86old             printargs
-#define        sys_modify_ldt          printargs
 #define        sys_get_kernel_syms     printargs
 #define        sys_bdflush             printargs
 #define        sys_sysfs               printargs
 #define        sys_afs_syscall         printargs
 
+/* machine-specific */
+#ifndef I386
+#define        sys_modify_ldt          printargs
+#define sys_get_thread_area    printargs
+#define sys_set_thread_area    printargs
+#endif
+
 #define sys_sched_setparam     printargs
 #define sys_sched_getparam     printargs
 #define sys_sched_setscheduler printargs