On Tue, Aug 07, Leo Eraly wrote:

> Jan Blunck wrote:
>> On Mon, Aug 06, Leo Eraly wrote:
>>> gcc -D__KERNEL__ -I/lib/modules/2.6.16.46-0.7-xen/build/include 
>>> mppLnx26_spinlock_size.c -o mppLnx_Spinlock_Size
>> ...
>>> What is the correct way to solve this more permanent? Submit a patch 
>>> upstream? Fix the package ? .... ?
>> Fix the broken userspace application that wants to include kernel
>> headers. This isn't a problem with the kernel but with your package 
>> sources.
>
> Thx! Modifiying the mppLnx26_spinlock_size.c did the trick for the userland 
> utility but the build of the kernel module fails because 
> scsi/scsi_request.h was removed from the kernel in SP1.
>
> Again something upstream needs to fix.
>

No. Again this is an issue of the driver.

Commit: beb40487508290f5d6565598c60a3f44261beef2 
Author: Christoph Hellwig <[EMAIL PROTECTED]> Sat, 10 Jun 2006 18:01:03 +0200 

    [SCSI] remove scsi_request infrastructure
    
    With Achim patch the last user (gdth) is switched away from scsi_request
    so we an kill it now.  Also disables some code in i2o_scsi that was
    broken since the sg driver stopped using scsi_requests.
    
    Signed-off-by: Christoph Hellwig <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>

This went into SP1 because of a requested SCSI backport. Go on and fix the
driver.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to