lkml.org 
[lkml]   [1999]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Kernel bug.
Date
> changed HZ to 1024! If you haven't touched HZ, then there is another
> problem.
>
> Paul Laufer
>
> --- drivers/scsi/sg.c.orig Wed Jan 20 22:27:14 1999
> +++ drivers/scsi/sg.c Wed Jan 20 22:27:29 1999
> @@ -54,7 +54,7 @@
> struct wait_queue *generic_wait; /* wait for device to be available
> */
> struct wait_queue *read_wait; /* wait for response */
> struct wait_queue *write_wait; /* wait for free buffer */
> - int timeout; /* current default value for device */
> + long timeout; /* current default value for device */
> int buff_len; /* length of current buffer */

That doesn't help you at all. The field is read/written directly as an
int from syscalls - you need to define new ioctls and the like as well


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.125 / U:0.312 seconds]
©2003-2011 Jasper Spaans. Advertise on this site