From: Evan Lavelle <sa212+lkml@cyconix.com>
To: LKML <linux-kernel@vger.kernel.org>
Subject: Driver crash when changing a function from external to internal linkage
Date: Wed, 15 Sep 2010 10:49:10 +0100 [thread overview]
Message-ID: <4C909696.5000503@cyconix.com> (raw)
I have an ISR which schedules a tasklet to handle an interrupt.
The tasklet is function A, which calls function B, which calls function C.
When all of A, B, and C have extern linkage, there's no problem.
However, when B is declared static, the driver crashes, and hangs up the
machine. The driver only crashes if C contains any code; if it's just an
empty function then there's no problem.
Any thoughts on what the problem is here? This is x86_32/PAE,
2.6.18-53.el5PAE, gcc 4.1.2 (Red Hat 4.1.2-46).
Thanks -
Evan
reply other threads:[~2010-09-15 9:49 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=4C909696.5000503@cyconix.com \
--to=sa212+lkml@cyconix.com \
--cc=linux-kernel@vger.kernel.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
Powered by JetHome