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
11e6df65
Commit
11e6df65
authored
Dec 09, 2005
by
Ralf Baechle
Committed by
Jan 10, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIPS: MIPS boards: Get rid of useless SMP/non-SMP casing.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
b4672d37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
13 deletions
+2
-13
arch/mips/mips-boards/generic/time.c
arch/mips/mips-boards/generic/time.c
+2
-13
No files found.
arch/mips/mips-boards/generic/time.c
View file @
11e6df65
...
@@ -77,7 +77,6 @@ static void mips_timer_dispatch (struct pt_regs *regs)
...
@@ -77,7 +77,6 @@ static void mips_timer_dispatch (struct pt_regs *regs)
irqreturn_t
mips_timer_interrupt
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
irqreturn_t
mips_timer_interrupt
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
{
{
#ifdef CONFIG_SMP
int
cpu
=
smp_processor_id
();
int
cpu
=
smp_processor_id
();
if
(
cpu
==
0
)
{
if
(
cpu
==
0
)
{
...
@@ -85,10 +84,9 @@ irqreturn_t mips_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
...
@@ -85,10 +84,9 @@ irqreturn_t mips_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
* CPU 0 handles the global timer interrupt job and process accounting
* CPU 0 handles the global timer interrupt job and process accounting
* resets count/compare registers to trigger next timer int.
* resets count/compare registers to trigger next timer int.
*/
*/
(
void
)
timer_interrupt
(
irq
,
dev_id
,
regs
);
timer_interrupt
(
irq
,
dev_id
,
regs
);
scroll_display_message
();
scroll_display_message
();
}
}
else
{
else
{
/* Everyone else needs to reset the timer int here as
/* Everyone else needs to reset the timer int here as
ll_local_timer_interrupt doesn't */
ll_local_timer_interrupt doesn't */
/*
/*
...
@@ -104,15 +102,6 @@ irqreturn_t mips_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
...
@@ -104,15 +102,6 @@ irqreturn_t mips_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
}
}
return
IRQ_HANDLED
;
return
IRQ_HANDLED
;
#else
irqreturn_t
r
;
r
=
timer_interrupt
(
irq
,
dev_id
,
regs
);
scroll_display_message
();
return
r
;
#endif
}
}
/*
/*
...
...
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