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
17efb59a
Commit
17efb59a
authored
Sep 03, 2013
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIPS: Move declaration of Octeon function fixup_irqs() to header.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
4defe455
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
arch/mips/cavium-octeon/octeon-irq.c
arch/mips/cavium-octeon/octeon-irq.c
+1
-1
arch/mips/cavium-octeon/smp.c
arch/mips/cavium-octeon/smp.c
+1
-3
arch/mips/include/asm/octeon/octeon.h
arch/mips/include/asm/octeon/octeon.h
+2
-0
No files found.
arch/mips/cavium-octeon/octeon-irq.c
View file @
17efb59a
...
...
@@ -1776,7 +1776,7 @@ asmlinkage void plat_irq_dispatch(void)
#ifdef CONFIG_HOTPLUG_CPU
void
fixup_irqs
(
void
)
void
octeon_
fixup_irqs
(
void
)
{
irq_cpu_offline
();
}
...
...
arch/mips/cavium-octeon/smp.c
View file @
17efb59a
...
...
@@ -255,8 +255,6 @@ static void octeon_cpus_done(void)
/* State of each CPU. */
DEFINE_PER_CPU
(
int
,
cpu_state
);
extern
void
fixup_irqs
(
void
);
static
int
octeon_cpu_disable
(
void
)
{
unsigned
int
cpu
=
smp_processor_id
();
...
...
@@ -267,7 +265,7 @@ static int octeon_cpu_disable(void)
set_cpu_online
(
cpu
,
false
);
cpu_clear
(
cpu
,
cpu_callin_map
);
local_irq_disable
();
fixup_irqs
();
octeon_
fixup_irqs
();
local_irq_enable
();
flush_cache_all
();
...
...
arch/mips/include/asm/octeon/octeon.h
View file @
17efb59a
...
...
@@ -251,4 +251,6 @@ extern void (*octeon_irq_setup_secondary)(void);
typedef
void
(
*
octeon_irq_ip4_handler_t
)(
void
);
void
octeon_irq_set_ip4_handler
(
octeon_irq_ip4_handler_t
);
extern
void
octeon_fixup_irqs
(
void
);
#endif
/* __ASM_OCTEON_OCTEON_H */
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