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
a8401fa5
Commit
a8401fa5
authored
Nov 05, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] BCM1480: Remove duplicate acknowledge of timer interrupt.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
07a80e49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
13 deletions
+2
-13
arch/mips/sibyte/bcm1480/irq.c
arch/mips/sibyte/bcm1480/irq.c
+2
-13
No files found.
arch/mips/sibyte/bcm1480/irq.c
View file @
a8401fa5
...
...
@@ -412,18 +412,6 @@ static void bcm1480_kgdb_interrupt(void)
extern
void
bcm1480_mailbox_interrupt
(
void
);
static
inline
void
dispatch_ip4
(
void
)
{
int
cpu
=
smp_processor_id
();
int
irq
=
K_BCM1480_INT_TIMER_0
+
cpu
;
/* Reset the timer */
__raw_writeq
(
M_SCD_TIMER_ENABLE
|
M_SCD_TIMER_MODE_CONTINUOUS
,
IOADDR
(
A_SCD_TIMER_REGISTER
(
cpu
,
R_SCD_TIMER_CFG
)));
do_IRQ
(
irq
);
}
static
inline
void
dispatch_ip2
(
void
)
{
unsigned
long
long
mask_h
,
mask_l
;
...
...
@@ -451,6 +439,7 @@ static inline void dispatch_ip2(void)
asmlinkage
void
plat_irq_dispatch
(
void
)
{
unsigned
int
cpu
=
smp_processor_id
();
unsigned
int
pending
;
#ifdef CONFIG_SIBYTE_BCM1480_PROF
...
...
@@ -467,7 +456,7 @@ asmlinkage void plat_irq_dispatch(void)
#endif
if
(
pending
&
CAUSEF_IP4
)
d
ispatch_ip4
(
);
d
o_IRQ
(
K_BCM1480_INT_TIMER_0
+
cpu
);
#ifdef CONFIG_SMP
else
if
(
pending
&
CAUSEF_IP3
)
bcm1480_mailbox_interrupt
();
...
...
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