lkml.org 
[lkml]   [2002]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectCan BUG() also be used "safely" in interrupts?
Hi there,

I have a routine to be used in an ISR or BH, where I like to use
BUG(), to flag real bugs the caller produces, if he uses it with
wrong arguments (namely: check for asserted interrupts according
to a mask and flag an BUG(), if the mask is bogus).

So can BUG() be used in an ISR or BH?

Thanks & Regards

Ingo Oeser
--
Science is what we can tell a computer. Art is everything else. --- D.E.Knuth
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.168 / U:0.608 seconds]
©2003-2014 Jasper Spaans. Advertise on this site