From: 김치환 <willy@airpoint.co.kr>
To: "linuxppc" <linuxppc-embedded@lists.linuxppc.org>
Subject: enable_irq(12) unbalanced for ppc8260
Date: Tue, 27 Jul 2004 09:37:53 +0900 [thread overview]
Message-ID: <00a701c47371$f44de1e0$0a589edd@free> (raw)
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/
reply other threads:[~2004-07-27 0:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='00a701c47371$f44de1e0$0a589edd@free' \
--to=willy@airpoint.co.kr \
--cc=linuxppc-embedded@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).