Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
eef34ec5
Commit
eef34ec5
authored
Sep 25, 2009
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIPS: SMP: Inline arch_send_call_function_{single_ipi,ipi_mask}
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
b533e652
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
15 deletions
+13
-15
arch/mips/include/asm/smp.h
arch/mips/include/asm/smp.h
+13
-2
arch/mips/kernel/smp.c
arch/mips/kernel/smp.c
+0
-13
No files found.
arch/mips/include/asm/smp.h
View file @
eef34ec5
...
@@ -77,7 +77,18 @@ extern void play_dead(void);
...
@@ -77,7 +77,18 @@ extern void play_dead(void);
extern
asmlinkage
void
smp_call_function_interrupt
(
void
);
extern
asmlinkage
void
smp_call_function_interrupt
(
void
);
extern
void
arch_send_call_function_single_ipi
(
int
cpu
);
static
inline
void
arch_send_call_function_single_ipi
(
int
cpu
)
extern
void
arch_send_call_function_ipi_mask
(
const
struct
cpumask
*
mask
);
{
extern
struct
plat_smp_ops
*
mp_ops
;
/* private */
mp_ops
->
send_ipi_mask
(
&
cpumask_of_cpu
(
cpu
),
SMP_CALL_FUNCTION
);
}
static
inline
void
arch_send_call_function_ipi_mask
(
const
struct
cpumask
*
mask
)
{
extern
struct
plat_smp_ops
*
mp_ops
;
/* private */
mp_ops
->
send_ipi_mask
(
mask
,
SMP_CALL_FUNCTION
);
}
#endif
/* __ASM_SMP_H */
#endif
/* __ASM_SMP_H */
arch/mips/kernel/smp.c
View file @
eef34ec5
...
@@ -127,19 +127,6 @@ asmlinkage __cpuinit void start_secondary(void)
...
@@ -127,19 +127,6 @@ asmlinkage __cpuinit void start_secondary(void)
cpu_idle
();
cpu_idle
();
}
}
void
arch_send_call_function_ipi_mask
(
const
struct
cpumask
*
mask
)
{
mp_ops
->
send_ipi_mask
(
mask
,
SMP_CALL_FUNCTION
);
}
/*
* We reuse the same vector for the single IPI
*/
void
arch_send_call_function_single_ipi
(
int
cpu
)
{
mp_ops
->
send_ipi_mask
(
&
cpumask_of_cpu
(
cpu
),
SMP_CALL_FUNCTION
);
}
/*
/*
* Call into both interrupt handlers, as we share the IPI for them
* Call into both interrupt handlers, as we share the IPI for them
*/
*/
...
...
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