Hello community, here is the log from the commit of package lirc checked in at Wed Nov 28 23:42:47 CET 2007. -------- --- lirc/lirc-kernel.changes 2007-10-18 19:08:12.000000000 +0200 +++ /mounts/work_src_done/STABLE/lirc/lirc-kernel.changes 2007-11-27 17:14:42.410164000 +0100 @@ -1,0 +2,5 @@ +Tue Nov 27 17:14:36 CET 2007 - ro@suse.de + +- fix build with 2.6.24 + +------------------------------------------------------------------- New: ---- lirc-2.6.24.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lirc-kernel.spec ++++++ --- /var/tmp/diff_new_pack.cs9474/_old 2007-11-28 23:42:23.000000000 +0100 +++ /var/tmp/diff_new_pack.cs9474/_new 2007-11-28 23:42:23.000000000 +0100 @@ -17,13 +17,14 @@ Group: System/Kernel Summary: LIRC kernel modules Version: 0.8.2 -Release: 2 +Release: 3 Source0: lirc-0.8.2.tar.bz2 Source1: Makefile.module Source2: Makefile.modsub Patch: lirc-0.8.1-kernel_SLAB_ATOMIC.diff Patch1: lirc-0.8.1-imon_pad2keys.patch Patch2: lirc-2.6.23.diff +Patch3: lirc-2.6.24.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %suse_kernel_module_package -n lirc kdump um debug @@ -51,6 +52,7 @@ #%patch -p1 %patch1 -p1 %patch2 -p0 +%patch3 -p0 autoreconf -f -i ./configure --with-driver=all cp -a drivers source @@ -78,7 +80,10 @@ make -C /usr/src/linux-obj/%_target_cpu/$flavor modules_install \ M=$PWD/obj/$flavor done + %changelog +* Tue Nov 27 2007 - ro@suse.de +- fix build with 2.6.24 * Thu Oct 18 2007 - ro@suse.de - fix build with 2.6.23 * Fri Aug 10 2007 - lnussel@suse.de ++++++ lirc.spec ++++++ --- /var/tmp/diff_new_pack.cs9474/_old 2007-11-28 23:42:23.000000000 +0100 +++ /var/tmp/diff_new_pack.cs9474/_new 2007-11-28 23:42:23.000000000 +0100 @@ -20,7 +20,7 @@ Group: Hardware/Other AutoReqProv: on Version: 0.8.2 -Release: 20 +Release: 32 PreReq: %fillup_prereq Summary: Tools for Infrared Receivers Source0: lirc-0.8.2.tar.bz2 @@ -153,6 +153,7 @@ %clean rm -rf %{buildroot} + %changelog * Fri Aug 10 2007 - lnussel@suse.de - upgrade to 0.8.2 final, just minor changes ++++++ lirc-2.6.24.diff ++++++ --- drivers/lirc_dev/lirc_dev.c +++ drivers/lirc_dev/lirc_dev.c @@ -242,7 +242,8 @@ #ifdef LIRC_HAVE_DEVFS_24 char name[16]; #endif - DECLARE_MUTEX_LOCKED(tn); + struct semaphore tn; + sema_init(&tn,0); if (!p) { printk("lirc_dev: lirc_register_plugin: " @@ -431,8 +432,9 @@ int lirc_unregister_plugin(int minor) { struct irctl *ir; - DECLARE_MUTEX_LOCKED(tn); - DECLARE_MUTEX_LOCKED(tn2); + struct semaphore tn, tn2; + sema_init(&tn, 0); + sema_init(&tn2, 0); if (minor < 0 || minor >= MAX_IRCTL_DEVICES) { printk("lirc_dev: lirc_unregister_plugin: " --- drivers/lirc_it87/lirc_it87.c +++ drivers/lirc_it87/lirc_it87.c @@ -934,7 +934,7 @@ /* Leaving MB PnP Mode */ it87_write(IT87_CFGCTRL, 0x2); - retval = request_irq(irq, it87_interrupt, 0 /*SA_INTERRUPT*/, + retval = request_irq(irq, it87_interrupt, 0 /*IRQF_DISABLED*/, LIRC_DRIVER_NAME, NULL); if (retval < 0) { printk(KERN_ERR LIRC_DRIVER_NAME --- drivers/lirc_serial/lirc_serial.c +++ drivers/lirc_serial/lirc_serial.c @@ -998,7 +998,7 @@ do_gettimeofday(&lasttv); result=request_irq(irq,irq_handler, - SA_INTERRUPT | (share_irq ? SA_SHIRQ:0), + IRQF_DISABLED | (share_irq ? IRQF_SHARED:0), LIRC_DRIVER_NAME,(void *)&hardware); switch(result) --- drivers/lirc_sir/lirc_sir.c +++ drivers/lirc_sir/lirc_sir.c @@ -1051,7 +1051,7 @@ return -EBUSY; } #endif - retval = request_irq(irq, sir_interrupt, SA_INTERRUPT, + retval = request_irq(irq, sir_interrupt, IRQF_DISABLED, LIRC_DRIVER_NAME, NULL); if (retval < 0) { # ifndef LIRC_ON_SA1100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de