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
eb085eea
Commit
eb085eea
authored
Feb 04, 2004
by
Andrew Morton
Committed by
Linus Torvalds
Feb 04, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ppc64: use smp_processor_id everywhere
From: anton@samba.org use smp_processor_id everywhere
parent
700c2edb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
arch/ppc64/kernel/idle.c
arch/ppc64/kernel/idle.c
+1
-1
arch/ppc64/kernel/time.c
arch/ppc64/kernel/time.c
+1
-1
No files found.
arch/ppc64/kernel/idle.c
View file @
eb085eea
...
...
@@ -161,7 +161,7 @@ int dedicated_idle(void)
struct
paca_struct
*
lpaca
=
get_paca
(),
*
ppaca
;
unsigned
long
start_snooze
;
ppaca
=
&
paca
[
(
lpaca
->
xPacaIndex
)
^
1
];
ppaca
=
&
paca
[
smp_processor_id
(
)
^
1
];
while
(
1
)
{
/* Indicate to the HV that we are idle. Now would be
...
...
arch/ppc64/kernel/time.c
View file @
eb085eea
...
...
@@ -267,7 +267,7 @@ int timer_interrupt(struct pt_regs * regs)
int
next_dec
;
unsigned
long
cur_tb
;
struct
paca_struct
*
lpaca
=
get_paca
();
unsigned
long
cpu
=
lpaca
->
xPacaIndex
;
unsigned
long
cpu
=
smp_processor_id
()
;
irq_enter
();
...
...
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