Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
6c114260
Commit
6c114260
authored
May 08, 2007
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: Wire up utimensat syscall.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
af80318e
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
3 deletions
+10
-3
arch/sparc/kernel/systbls.S
arch/sparc/kernel/systbls.S
+2
-0
arch/sparc64/kernel/sys_sparc32.c
arch/sparc64/kernel/sys_sparc32.c
+1
-1
arch/sparc64/kernel/systbls.S
arch/sparc64/kernel/systbls.S
+3
-0
include/asm-sparc/unistd.h
include/asm-sparc/unistd.h
+2
-1
include/asm-sparc64/unistd.h
include/asm-sparc64/unistd.h
+2
-1
No files found.
arch/sparc/kernel/systbls.S
View file @
6c114260
...
...
@@ -80,6 +80,7 @@ sys_call_table:
/*
295
*/
.
long
sys_fchmodat
,
sys_faccessat
,
sys_pselect6
,
sys_ppoll
,
sys_unshare
/*
300
*/
.
long
sys_set_robust_list
,
sys_get_robust_list
,
sys_migrate_pages
,
sys_mbind
,
sys_get_mempolicy
/*
305
*/
.
long
sys_set_mempolicy
,
sys_kexec_load
,
sys_move_pages
,
sys_getcpu
,
sys_epoll_pwait
/*
310
*/
.
long
sys_utimensat
#ifdef CONFIG_SUNOS_EMUL
/
*
Now
the
SunOS
syscall
table
.
*/
...
...
@@ -196,5 +197,6 @@ sunos_sys_table:
.
long
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
long
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
long
sunos_nosys
/*
310
*/
.
long
sunos_nosys
#endif
arch/sparc64/kernel/sys_sparc32.c
View file @
6c114260
...
...
@@ -793,7 +793,7 @@ asmlinkage long sys32_utimes(char __user *filename,
tv
[
1
].
tv_nsec
=
1000
*
ktvs
[
1
].
tv_usec
;
}
return
do_utimes
(
AT_FDCWD
,
filename
,
tvs
?
tv
:
NULL
);
return
do_utimes
(
AT_FDCWD
,
filename
,
tvs
?
tv
:
NULL
,
0
);
}
/* These are here just in case some old sparc32 binary calls it. */
...
...
arch/sparc64/kernel/systbls.S
View file @
6c114260
...
...
@@ -81,6 +81,7 @@ sys_call_table32:
.
word
sys_fchmodat
,
sys_faccessat
,
compat_sys_pselect6
,
compat_sys_ppoll
,
sys_unshare
/*
300
*/
.
word
compat_sys_set_robust_list
,
compat_sys_get_robust_list
,
compat_sys_migrate_pages
,
compat_sys_mbind
,
compat_sys_get_mempolicy
.
word
compat_sys_set_mempolicy
,
compat_sys_kexec_load
,
compat_sys_move_pages
,
sys_getcpu
,
compat_sys_epoll_pwait
/*
310
*/
.
word
compat_sys_utimensat
#endif /* CONFIG_COMPAT */
...
...
@@ -152,6 +153,7 @@ sys_call_table:
.
word
sys_fchmodat
,
sys_faccessat
,
sys_pselect6
,
sys_ppoll
,
sys_unshare
/*
300
*/
.
word
sys_set_robust_list
,
sys_get_robust_list
,
sys_migrate_pages
,
sys_mbind
,
sys_get_mempolicy
.
word
sys_set_mempolicy
,
sys_kexec_load
,
sys_move_pages
,
sys_getcpu
,
sys_epoll_pwait
/*
310
*/
.
word
sys_utimensat
#if defined(CONFIG_SUNOS_EMUL) || defined(CONFIG_SOLARIS_EMUL) || \
defined
(
CONFIG_SOLARIS_EMUL_MODULE
)
...
...
@@ -269,5 +271,6 @@ sunos_sys_table:
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
word
sunos_nosys
/*
310
*/
.
long
sunos_nosys
#endif
include/asm-sparc/unistd.h
View file @
6c114260
...
...
@@ -326,8 +326,9 @@
#define __NR_move_pages 307
#define __NR_getcpu 308
#define __NR_epoll_pwait 309
#define __NR_utimensat 310
#define NR_SYSCALLS 31
0
#define NR_SYSCALLS 31
1
#ifdef __KERNEL__
#define __ARCH_WANT_IPC_PARSE_VERSION
...
...
include/asm-sparc64/unistd.h
View file @
6c114260
...
...
@@ -328,8 +328,9 @@
#define __NR_move_pages 307
#define __NR_getcpu 308
#define __NR_epoll_pwait 309
#define __NR_utimensat 310
#define NR_SYSCALLS 31
0
#define NR_SYSCALLS 31
1
#ifdef __KERNEL__
/* sysconf options, for SunOS compatibility */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment