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
482845a3
Commit
482845a3
authored
May 26, 2008
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Fix build error - Delete debugging crap that crept in with CMP
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
272bace7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
19 deletions
+0
-19
arch/mips/mips-boards/generic/time.c
arch/mips/mips-boards/generic/time.c
+0
-19
No files found.
arch/mips/mips-boards/generic/time.c
View file @
482845a3
...
...
@@ -58,27 +58,8 @@ static int mips_cpu_timer_irq;
static
int
mips_cpu_perf_irq
;
extern
int
cp0_perfcount_irq
;
DEFINE_PER_CPU
(
unsigned
int
,
tickcount
);
#define tickcount_this_cpu __get_cpu_var(tickcount)
static
unsigned
long
ledbitmask
;
static
void
mips_timer_dispatch
(
void
)
{
#if defined(CONFIG_MIPS_MALTA) || defined(CONFIG_MIPS_ATLAS)
/*
* Yes, this is very tacky, won't work as expected with SMTC and
* dyntick will break it,
* but it gives me a nice warm feeling during debug
*/
#define LEDBAR 0xbf000408
if
(
tickcount_this_cpu
++
>=
HZ
)
{
tickcount_this_cpu
=
0
;
change_bit
(
smp_processor_id
(),
&
ledbitmask
);
smp_wmb
();
/* Make sure every one else sees the change */
/* This will pick up any recent changes made by other CPU's */
*
(
unsigned
int
*
)
LEDBAR
=
ledbitmask
;
}
#endif
do_IRQ
(
mips_cpu_timer_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