Re: [PATCH] Re: 2.5.67: ppa driver & preempt == oops

From: Mike Anderson (andmike@us.ibm.com)
Date: Wed Apr 16 2003 - 15:07:26 EST


Gert Vervoort [gert.vervoort@hccnet.nl] wrote:
> The following workaround is needed to make the patch compile (otherwise
> the linker complains about scsi_queue_next_request not being defined):
>
> --- scsi_lib.c.1 2003-04-16 21:23:37.000000000 +0200
> +++ scsi_lib.c 2003-04-16 21:23:46.000000000 +0200
> @@ -351,7 +351,7 @@
> * permutations grows as 2**N, and if too many more special
> cases
> * get added, we start to get screwed.
> */
> -static void scsi_queue_next_request(request_queue_t *q, struct
> scsi_cmnd *cmd)
> +/*static*/ void scsi_queue_next_request(request_queue_t *q, struct
> scsi_cmnd *cmd)
> {
> struct scsi_device *sdev, *sdev2;
> struct Scsi_Host *shost;

The static removal is present already in bk current.

-andmike

--
Michael Anderson
andmike@us.ibm.com

- 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/



This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:19 EST