Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
f664df30
Commit
f664df30
authored
Jun 15, 2003
by
Ivan Kokshaysky
Committed by
Richard Henderson
Jun 15, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] alpha osf_settimeofday fix
Propagate do_settimeofday() change into osf_settimeofday(). Ivan.
parent
07eaf131
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
arch/alpha/kernel/osf_sys.c
arch/alpha/kernel/osf_sys.c
+5
-4
No files found.
arch/alpha/kernel/osf_sys.c
View file @
f664df30
...
...
@@ -822,7 +822,6 @@ osf_setsysinfo(unsigned long op, void *buffer, unsigned long nbytes,
affects all sorts of things, like timeval and itimerval. */
extern
struct
timezone
sys_tz
;
extern
int
do_sys_settimeofday
(
struct
timeval
*
tv
,
struct
timezone
*
tz
);
extern
int
do_getitimer
(
int
which
,
struct
itimerval
*
value
);
extern
int
do_setitimer
(
int
which
,
struct
itimerval
*
,
struct
itimerval
*
);
extern
asmlinkage
int
sys_utimes
(
char
*
,
struct
timeval
*
);
...
...
@@ -901,11 +900,11 @@ osf_gettimeofday(struct timeval32 *tv, struct timezone *tz)
asmlinkage
int
osf_settimeofday
(
struct
timeval32
*
tv
,
struct
timezone
*
tz
)
{
struct
time
val
ktv
;
struct
time
spec
kts
;
struct
timezone
ktz
;
if
(
tv
)
{
if
(
get_tv32
(
&
ktv
,
tv
))
if
(
get_tv32
(
(
struct
timeval
*
)
&
kts
,
tv
))
return
-
EFAULT
;
}
if
(
tz
)
{
...
...
@@ -913,7 +912,9 @@ osf_settimeofday(struct timeval32 *tv, struct timezone *tz)
return
-
EFAULT
;
}
return
do_sys_settimeofday
(
tv
?
&
ktv
:
NULL
,
tz
?
&
ktz
:
NULL
);
kts
.
tv_nsec
*=
1000
;
return
do_sys_settimeofday
(
tv
?
&
kts
:
NULL
,
tz
?
&
ktz
:
NULL
);
}
asmlinkage
int
...
...
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