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
ae036b79
Commit
ae036b79
authored
Mar 27, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] SMTC: irq_{enter,leave} and kstats keeping for relayed timer ints.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
fe99f1b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
arch/mips/kernel/smtc.c
arch/mips/kernel/smtc.c
+5
-0
No files found.
arch/mips/kernel/smtc.c
View file @
ae036b79
...
...
@@ -4,6 +4,7 @@
#include <linux/sched.h>
#include <linux/cpumask.h>
#include <linux/interrupt.h>
#include <linux/kernel_stat.h>
#include <linux/module.h>
#include <asm/cpu.h>
...
...
@@ -14,6 +15,7 @@
#include <asm/hazards.h>
#include <asm/mmu_context.h>
#include <asm/smp.h>
#include <asm/mips-boards/maltaint.h>
#include <asm/mipsregs.h>
#include <asm/cacheflush.h>
#include <asm/time.h>
...
...
@@ -812,12 +814,15 @@ void ipi_decode(struct smtc_ipi *pipi)
smtc_ipi_nq
(
&
freeIPIq
,
pipi
);
switch
(
type_copy
)
{
case
SMTC_CLOCK_TICK
:
irq_enter
();
kstat_this_cpu
.
irqs
[
MIPSCPU_INT_BASE
+
MIPSCPU_INT_CPUCTR
]
++
;
/* Invoke Clock "Interrupt" */
ipi_timer_latch
[
dest_copy
]
=
0
;
#ifdef CONFIG_SMTC_IDLE_HOOK_DEBUG
clock_hang_reported
[
dest_copy
]
=
0
;
#endif
/* CONFIG_SMTC_IDLE_HOOK_DEBUG */
local_timer_interrupt
(
0
,
NULL
);
irq_exit
();
break
;
case
LINUX_SMP_IPI
:
switch
((
int
)
arg_copy
)
{
...
...
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