On Thu, 15 Jan 2009 14:06:55 +0200 Boaz Harrosh <bharrosh@xxxxxxxxxxx> wrote: > > Your patch does the right thing? > > > > Yes I just checked, the Kernel build system strips out the #ifdef __KERNEL__ sections > for the exported headers. (Do "make headers_check" you can see at usr/include/linux/) Thanks, I see. > >> --- > >> From: Boaz Harrosh <bharrosh@xxxxxxxxxxx> > >> Date: Thu, 15 Jan 2009 10:43:17 +0200 > >> Subject: [PATCH] include/linux: Add bsg.h to the Kernel exported headers > >> > >> bsg.h in current form is perfectly suitable for user-mode > >> consumption. It is needed together with scsi/sg.h for applications > >> that want to interface with the bsg driver. > >> > >> Currently the few projects that use it would copy it over into > >> the projects. But that is not acceptable for projects that need > >> to provide a libxxx-devel package for distros. > >> > >> Signed-off-by: Boaz Harrosh <bharrosh@xxxxxxxxxxx> > > TOMO Please ACK here so Jens can push it through his tree. You can add my ACK. > Also I think we want to: > CC: stable@xxxxxxxxxx It's fine by me. > for 2.6.27.x and 2.6.28.x Because these where shipped with bsg > and there is no reason why not have it, lets say in Fedora10 > or ubuntu 8.10. > > >> --- > >> include/linux/Kbuild | 1 + > >> 1 files changed, 1 insertions(+), 0 deletions(-) > >> > >> diff --git a/include/linux/Kbuild b/include/linux/Kbuild > >> index 12e9a29..2124c06 100644 > >> --- a/include/linux/Kbuild > >> +++ b/include/linux/Kbuild > > > Thanks > Boaz > -- > To unsubscribe from this list: send the line "unsubscribe linux-scsi" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html