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
033890b0
Commit
033890b0
authored
Jul 27, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] SMTC: Statically initialize irq_ipi[].
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
004561d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
arch/mips/kernel/smtc.c
arch/mips/kernel/smtc.c
+6
-6
No files found.
arch/mips/kernel/smtc.c
View file @
033890b0
...
...
@@ -975,7 +975,12 @@ static void ipi_irq_dispatch(void)
do_IRQ
(
cpu_ipi_irq
);
}
static
struct
irqaction
irq_ipi
;
static
struct
irqaction
irq_ipi
=
{
.
handler
=
ipi_interrupt
,
.
flags
=
IRQF_DISABLED
,
.
name
=
"SMTC_IPI"
,
.
flags
=
IRQF_PERCPU
};
static
void
setup_cross_vpe_interrupts
(
unsigned
int
nvpe
)
{
...
...
@@ -987,13 +992,8 @@ static void setup_cross_vpe_interrupts(unsigned int nvpe)
set_vi_handler
(
MIPS_CPU_IPI_IRQ
,
ipi_irq_dispatch
);
irq_ipi
.
handler
=
ipi_interrupt
;
irq_ipi
.
flags
=
IRQF_DISABLED
;
irq_ipi
.
name
=
"SMTC_IPI"
;
setup_irq_smtc
(
cpu_ipi_irq
,
&
irq_ipi
,
(
0x100
<<
MIPS_CPU_IPI_IRQ
));
irq_desc
[
cpu_ipi_irq
].
status
|=
IRQ_PER_CPU
;
set_irq_handler
(
cpu_ipi_irq
,
handle_percpu_irq
);
}
...
...
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