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
f105d55b
Commit
f105d55b
authored
Apr 24, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: wrap iseries specific stuff in set_dec with ifdef
parent
123038cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
include/asm-ppc64/time.h
include/asm-ppc64/time.h
+6
-4
No files found.
include/asm-ppc64/time.h
View file @
f105d55b
...
...
@@ -73,17 +73,19 @@ static __inline__ unsigned int get_dec(void)
static
__inline__
void
set_dec
(
int
val
)
{
#ifdef CONFIG_PPC_ISERIES
struct
paca_struct
*
lpaca
=
get_paca
();
int
cur_dec
;
if
(
lpaca
->
xLpPaca
.
xSharedProc
)
{
if
(
lpaca
->
xLpPaca
.
xSharedProc
)
{
lpaca
->
xLpPaca
.
xVirtualDecr
=
val
;
cur_dec
=
get_dec
();
if
(
cur_dec
>
val
)
if
(
cur_dec
>
val
)
HvCall_setVirtualDecr
();
}
else
{
}
else
#else
mtspr
(
SPRN_DEC
,
val
);
}
#endif
}
extern
__inline__
unsigned
long
tb_ticks_since
(
unsigned
long
tstamp
)
{
...
...
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