* enable_irq(12) unbalanced for ppc8260
@ 2004-07-27 0:37 김치환
0 siblings, 0 replies; only message in thread
From: 김치환 @ 2004-07-27 0:37 UTC (permalink / raw)
To: linuxppc
Hi, there.
I used ppc8260 cpm timer as followings:
void init_timer()
{
...
request_8xxirq(SIU_INT_TIMER1, handler, 0, "TIMER", NULL);
enable_irq(SIU_INT_TIMER1);
...
}
void stop_timer()
{
disable_irq(SIU_INT_TIMER1);
free_irq(SIU_INT_TIMER1, NULL);
}
I called init_timer() after loading module and then called stop_timer()
after 10 seconds by user space program. It works well for first time
just after loading module and executing user space program. But it fails
from the next execution of user space program throwing 'enable_irq(12)
unbalanced' error. I mean interrupt won't occur.
What's wrong? What should I do to disable timer interrupt to avoid above
error?
Thanks.
willy.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-07-27 0:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-27 0:37 enable_irq(12) unbalanced for ppc8260 김치환
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).