History

parisc: wire up sys_utimes

We seem to be nearly the only platform which does not provide the sys_utimes syscall. Adding it now makes our life much easier with userspace applications (like dietlibc and e2fsprogs) since we then behave like all other platforms too and don't need extra patches which are hard to get upstream anyway because we are not a mainstream architecture.

Helge Deller committed 12 years ago

Commit e9af8b71 parent 4b02a722 files · +3 −2Browse files

Unified · Split

2 files
  1. arch/parisc/include/uapi/asm/unistd.h +2 −2
  2. arch/parisc/kernel/syscall_table.S +1 −0
arch/parisc/include/uapi/asm/unistd.h+2−2
@@ -828,13 +828,13 @@ · 827 unmodified lines
828828 #define __NR_finit_module (__NR_Linux + 333)
829829 #define __NR_sched_setattr (__NR_Linux + 334)
830830 #define __NR_sched_getattr (__NR_Linux + 335)
831+#define __NR_utimes (__NR_Linux + 336)
831832
832−#define __NR_Linux_syscalls (__NR_sched_getattr + 1)
833+#define __NR_Linux_syscalls (__NR_utimes + 1)
833834
834835
835836 #define __IGNORE_select /* newselect */
836837 #define __IGNORE_fadvise64 /* fadvise64_64 */
837−#define __IGNORE_utimes /* utime */
838838
839839
840840 #define HPUX_GATEWAY_ADDR 0xC0000004
arch/parisc/kernel/syscall_table.S+1−0
@@ -431,6 +431,7 @@ · 430 unmodified lines
431431 ENTRY_SAME(finit_module)
432432 ENTRY_SAME(sched_setattr)
433433 ENTRY_SAME(sched_getattr) /* 335 */
434+ ENTRY_COMP(utimes)
434435
435436 /* Nothing yet */
436437

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t