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
cc3ecc6e
Commit
cc3ecc6e
authored
Feb 06, 2004
by
Benjamin Herrenschmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc32: Fix smp_message_pass macro, turn into an inline function
parent
8354cc74
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
arch/ppc/kernel/smp.c
arch/ppc/kernel/smp.c
+8
-5
No files found.
arch/ppc/kernel/smp.c
View file @
cc3ecc6e
...
@@ -79,11 +79,14 @@ extern void __save_cpu_setup(void);
...
@@ -79,11 +79,14 @@ extern void __save_cpu_setup(void);
#define PPC_MSG_INVALIDATE_TLB 2
#define PPC_MSG_INVALIDATE_TLB 2
#define PPC_MSG_XMON_BREAK 3
#define PPC_MSG_XMON_BREAK 3
#define smp_message_pass(t,m,d,w) \
static
inline
void
do { if (smp_ops) \
smp_message_pass
(
int
target
,
int
msg
,
unsigned
long
data
,
int
wait
)
atomic_inc(&ipi_sent); \
{
smp_ops->message_pass((t),(m),(d),(w)); \
if
(
smp_ops
){
} while(0)
atomic_inc
(
&
ipi_sent
);
smp_ops
->
message_pass
(
target
,
msg
,
data
,
wait
);
}
}
/*
/*
* Common functions
* Common functions
...
...
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