Great! I'll include it in. Thanks, Kedar. > -----Original Message----- > From: fedora-arm-bounces@xxxxxxxxxx [mailto:fedora-arm- > bounces@xxxxxxxxxx] On Behalf Of Vinit Dhatrak > Sent: 09 July 2009 18:27 > To: fedora-arm@xxxxxxxxxx > Subject: [PATCH] scsi-target-utils: Fix > sync_file_range symbol for arm. > > Signed-off-by: Vinit Dhatrak <vinitd@xxxxxxxxxxx> > --- > --- a/scsi-target-utils.spec 2009-07-08 02:28:33.000000000 - > 0400 > +++ b/scsi-target-utils.spec 2009-07-08 02:41:06.000000000 - > 0400 > @@ -11,6 +11,7 @@ URL: http://stgt.berlios.de > Source0: http://stgt.berlios.de/releases/tgt- > %{date}.tar.bz2 > Source1: tgtd.init > Patch0: tgt-20080805-shebang.patch > +Patch1: tgt-20090807-file-range-arm.patch > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}- > root-%(%{__id_u} -n) > > BuildRequires: openssl-devel pkgconfig > @@ -23,6 +24,7 @@ Currently, software iSCSI targets are su > %prep > %setup -q -n tgt-%{date} > %patch0 -p1 > +%patch1 -p1 > %{__chmod} 0644 scripts/tgt-core-test > > %build > @@ -76,6 +78,9 @@ fi > %{_initrddir}/tgtd > > %changelog > +* Mon Jul 06 2009 Vinit Dhatrak <vinitd@xxxxxxxxxxx> - 0.0- > 6.20080805snap > +- Add patch for sync_file_range on arm arch. > + > * Tue Oct 21 2008 Terje Rosten <terje.rosten@xxxxxxx> - 0.0- > 6.20080805snap > - Add tgt-admin man page, tgt-admin and tgt-core-test > > > --- tgt-20080805/usr/util.h 2008-07-31 19:01:51.000000000 - > 0400 > +++ tgt-20090807/usr/util.h 2009-07-08 02:32:20.000000000 - > 0400 > @@ -107,6 +107,8 @@ extern unsigned long pagesize, pageshift > #define __NR_sync_file_range 1300 > #elif defined(__powerpc64__) || defined(__PPC__) > #define __NR_sync_file_range 308 > +#elif defined(__arm__) > +#define __NR_sync_file_range __NR_sync_file_range2 > #endif > #endif > > > _______________________________________________ > fedora-arm mailing list > fedora-arm@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/fedora-arm _______________________________________________ fedora-arm mailing list fedora-arm@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-arm