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
nexedi
linux
Commits
4053dd4b
Commit
4053dd4b
authored
Jun 16, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://are.twiddle.net/axp-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
b0139aa1
f664df30
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
arch/alpha/kernel/osf_sys.c
arch/alpha/kernel/osf_sys.c
+5
-4
include/asm-alpha/ide.h
include/asm-alpha/ide.h
+1
-1
No files found.
arch/alpha/kernel/osf_sys.c
View file @
4053dd4b
...
...
@@ -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
...
...
include/asm-alpha/ide.h
View file @
4053dd4b
...
...
@@ -75,7 +75,7 @@ static __inline__ void ide_init_default_hwifs(void)
for
(
index
=
0
;
index
<
MAX_HWIFS
;
index
++
)
{
ide_init_hwif_ports
(
&
hw
,
ide_default_io_base
(
index
),
0
,
NULL
);
hw
.
irq
=
ide_default_irq
(
ide_default_io_base
(
index
));
ide_register_hw
(
&
hw
);
ide_register_hw
(
&
hw
,
NULL
);
}
#endif
}
...
...
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