summaryrefslogtreecommitdiffstats
path: root/firmware/profile.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-06-29 14:29:46 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-06-29 14:29:46 +0000
commit89ccd5c145e45ad541a02f38e2ad07fb916f7135 (patch)
tree5fc32e78d793022246e3893f7c420f52d624c96e /firmware/profile.c
parentb955dff268005d3d55ee3f38af0875718ab6021a (diff)
downloadrockbox-89ccd5c145e45ad541a02f38e2ad07fb916f7135.tar.gz
rockbox-89ccd5c145e45ad541a02f38e2ad07fb916f7135.tar.bz2
rockbox-89ccd5c145e45ad541a02f38e2ad07fb916f7135.zip
Remove int_prio argument from timer_register, and move the only use for it into alpine_cdc plugin, since this plugin is only built on SH7034
Also remove it from TIMER_START() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21558 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/profile.c')
-rw-r--r--firmware/profile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/profile.c b/firmware/profile.c
index cb68f18d8e..6700eca404 100644
--- a/firmware/profile.c
+++ b/firmware/profile.c
@@ -140,7 +140,7 @@ void profile_thread_started(int current_thread) {
if (profiling < PROF_ERROR) {
/* After we de-mask, if profiling is active, reactivate the timer */
timer_register(0, profile_timer_unregister,
- TIMER_FREQ/10000, 0, profile_timer_tick IF_COP(, 0 ) );
+ TIMER_FREQ/10000, profile_timer_tick IF_COP(, 0 ) );
}
}
}
@@ -169,7 +169,7 @@ void profstart(int current_thread) {
pfds[0].self_pc = 0;
memset(indices,0,INDEX_SIZE * sizeof(unsigned short));
timer_register(
- 0, profile_timer_unregister, TIMER_FREQ/10000, 0, profile_timer_tick IF_COP(, 0 ) );
+ 0, profile_timer_unregister, TIMER_FREQ/10000, profile_timer_tick IF_COP(, 0 ) );
profiling = PROF_ON;
}