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
f1f05d2e
Commit
f1f05d2e
authored
Jun 17, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge davem@nuts.ninka.net:/home/davem/src/BK/sparc-2.5
into kernel.bkbits.net:/home/davem/sparc-2.5
parents
2d00c1cc
97151f35
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
14 deletions
+14
-14
arch/sparc64/kernel/time.c
arch/sparc64/kernel/time.c
+4
-4
include/asm-sparc/xor.h
include/asm-sparc/xor.h
+5
-5
include/asm-sparc64/xor.h
include/asm-sparc64/xor.h
+5
-5
No files found.
arch/sparc64/kernel/time.c
View file @
f1f05d2e
...
...
@@ -703,9 +703,9 @@ static void __init set_system_time(void)
}
xtime
.
tv_sec
=
mktime
(
year
,
mon
,
day
,
hour
,
min
,
sec
);
wall_to_monotonic
.
tv_sec
=
-
xtime
.
tv_sec
+
INITIAL_JIFFIES
/
HZ
;
wall_to_monotonic
.
tv_sec
=
-
xtime
.
tv_sec
;
xtime
.
tv_nsec
=
(
INITIAL_JIFFIES
%
HZ
)
*
(
NSEC_PER_SEC
/
HZ
);
wall_to_monotonic
.
tv_nsec
=
0
;
wall_to_monotonic
.
tv_nsec
=
-
xtime
.
tv_nsec
;
if
(
mregs
)
{
tmp
=
mostek_read
(
mregs
+
MOSTEK_CREG
);
...
...
@@ -743,9 +743,9 @@ void __init clock_probe(void)
(
unsigned
int
)
(
long
)
&
unix_tod
);
prom_feval
(
obp_gettod
);
xtime
.
tv_sec
=
unix_tod
;
wall_to_monotonic
.
tv_sec
=
-
xtime
.
tv_sec
+
INITIAL_JIFFIES
/
HZ
;
wall_to_monotonic
.
tv_sec
=
-
xtime
.
tv_sec
;
xtime
.
tv_nsec
=
(
INITIAL_JIFFIES
%
HZ
)
*
(
NSEC_PER_SEC
/
HZ
);
wall_to_monotonic
.
tv_nsec
=
0
;
wall_to_monotonic
.
tv_nsec
=
-
xtime
.
tv_nsec
;
return
;
}
...
...
include/asm-sparc/xor.h
View file @
f1f05d2e
...
...
@@ -250,11 +250,11 @@ sparc_5(unsigned long bytes, unsigned long *p1, unsigned long *p2,
}
static
struct
xor_block_template
xor_block_SPARC
=
{
name:
"SPARC"
,
do_2:
sparc_2
,
do_3:
sparc_3
,
do_4:
sparc_4
,
do_5:
sparc_5
,
.
name
=
"SPARC"
,
.
do_2
=
sparc_2
,
.
do_3
=
sparc_3
,
.
do_4
=
sparc_4
,
.
do_5
=
sparc_5
,
};
/* For grins, also test the generic routines. */
...
...
include/asm-sparc64/xor.h
View file @
f1f05d2e
...
...
@@ -388,11 +388,11 @@ __asm__ ("
"
);
static
struct
xor_block_template
xor_block_VIS
=
{
name:
"VIS"
,
do_2:
xor_vis_2
,
do_3:
xor_vis_3
,
do_4:
xor_vis_4
,
do_5:
xor_vis_5
,
.
name
=
"VIS"
,
.
do_2
=
xor_vis_2
,
.
do_3
=
xor_vis_3
,
.
do_4
=
xor_vis_4
,
.
do_5
=
xor_vis_5
,
};
#define XOR_TRY_TEMPLATES xor_speed(&xor_block_VIS)
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