lkml.org 
[lkml]   [2003]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [bug] ieee1394/sbp2 - sleeping in invalid context
On Sun, Jul 27, 2003 at 03:46:50AM -0700, dan carpenter wrote:
> I think sbp2scsi_queuecommand is called from outside interrupt context. The
> obvious but possibly wrong way to fix this would be to change the calls to
> hpsb_get_tlabel() to check in_atomic() instead of in_interrupt().

Preempt will be the death of me. Wish there was a can_sleep() macro to
make things easier.

Thanks for the report, I'll fix this.


--
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
-
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:47    [W:0.046 / U:1.660 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site