* Driver crash when changing a function from external to internal linkage
@ 2010-09-15 9:49 Evan Lavelle
0 siblings, 0 replies; only message in thread
From: Evan Lavelle @ 2010-09-15 9:49 UTC (permalink / raw)
To: LKML
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-09-15 9:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-15 9:49 Driver crash when changing a function from external to internal linkage Evan Lavelle
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