* kernel panic after sema_init(&sem,-1) why?
@ 2005-01-07 3:49 Sujeet Kumar
0 siblings, 0 replies; only message in thread
From: Sujeet Kumar @ 2005-01-07 3:49 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1131 bytes --]
Hi !
In our sample driver ,
The system gives panic, if I initialise the semaphore to -1
[sema_init(&sem,-1)] and
then try to acquire it by calling down() .
It gives a kernel panic . what could be the reason for this.
Where exactly is panic() called?
could not figure out easily from code.
Thanks
sujeet
http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________
This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin@patni.com and delete this mail.
_____________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-01-07 3:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-07 3:49 kernel panic after sema_init(&sem,-1) why? Sujeet Kumar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®