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
nexedi
linux
Commits
53dc110c
Commit
53dc110c
authored
Nov 25, 2013
by
Vineet Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARC: [SMP] cpu halt interface doesn't need "self" cpu-id
Signed-off-by:
Vineet Gupta
<
vgupta@synopsys.com
>
parent
ccdaa6e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
arch/arc/kernel/smp.c
arch/arc/kernel/smp.c
+4
-5
No files found.
arch/arc/kernel/smp.c
View file @
53dc110c
...
...
@@ -270,12 +270,12 @@ void arch_send_call_function_ipi_mask(const struct cpumask *mask)
/*
* ipi_cpu_stop - handle IPI from smp_send_stop()
*/
static
void
ipi_cpu_stop
(
unsigned
int
cpu
)
static
void
ipi_cpu_stop
(
void
)
{
machine_halt
();
}
static
inline
void
__do_IPI
(
unsigned
long
*
ops
,
struct
ipi_data
*
ipi
,
int
cpu
)
static
inline
void
__do_IPI
(
unsigned
long
*
ops
,
struct
ipi_data
*
ipi
)
{
unsigned
long
msg
=
0
;
...
...
@@ -292,11 +292,10 @@ static inline void __do_IPI(unsigned long *ops, struct ipi_data *ipi, int cpu)
break
;
case
IPI_CPU_STOP
:
ipi_cpu_stop
(
cpu
);
ipi_cpu_stop
();
break
;
}
}
while
(
msg
<
BITS_PER_LONG
);
}
/*
...
...
@@ -317,7 +316,7 @@ irqreturn_t do_IPI(int irq, void *dev_id)
* And do we need to move ipi_clean inside
*/
while
((
ops
=
xchg
(
&
ipi
->
bits
,
0
))
!=
0
)
__do_IPI
(
&
ops
,
ipi
,
cpu
);
__do_IPI
(
&
ops
,
ipi
);
return
IRQ_HANDLED
;
}
...
...
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