wok annotate linmodem-intel-536ep/stuff/linmodem-intel-536ep-kernel-2.6.37.patch @ rev 9868

gtk+: clean up a bit the receipt to have a new build (bug with /etc/gtk-2.0)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 16 22:27:26 2011 +0200 (2011-05-16)
parents ad6487ac4314
children
rev   line source
slaxemulator@8310 1 --- intel-536-537/coredrv/locks.c~ 2011-01-26 12:12:00.856675530 +0000
slaxemulator@8310 2 +++ intel-536-537/coredrv/locks.c 2011-01-26 12:12:00.873342198 +0000
slaxemulator@8285 3 @@ -141,15 +141,15 @@
slaxemulator@8285 4 #endif
slaxemulator@8285 5 }
slaxemulator@8285 6
slaxemulator@8285 7 -DECLARE_MUTEX(sem0);
slaxemulator@8285 8 -DECLARE_MUTEX(sem1);
slaxemulator@8285 9 -DECLARE_MUTEX(sem2);
slaxemulator@8285 10 -DECLARE_MUTEX(sem3);
slaxemulator@8285 11 -DECLARE_MUTEX(sem4);
slaxemulator@8285 12 -DECLARE_MUTEX(sem5);
slaxemulator@8285 13 -DECLARE_MUTEX(sem6);
slaxemulator@8285 14 -DECLARE_MUTEX(sem7);
slaxemulator@8285 15 -DECLARE_MUTEX(sem8);
slaxemulator@8285 16 +DEFINE_SEMAPHORE(sem0);
slaxemulator@8285 17 +DEFINE_SEMAPHORE(sem1);
slaxemulator@8285 18 +DEFINE_SEMAPHORE(sem2);
slaxemulator@8285 19 +DEFINE_SEMAPHORE(sem3);
slaxemulator@8285 20 +DEFINE_SEMAPHORE(sem4);
slaxemulator@8285 21 +DEFINE_SEMAPHORE(sem5);
slaxemulator@8285 22 +DEFINE_SEMAPHORE(sem6);
slaxemulator@8285 23 +DEFINE_SEMAPHORE(sem7);
slaxemulator@8285 24 +DEFINE_SEMAPHORE(sem8);
slaxemulator@8285 25
slaxemulator@8285 26 asmlinkage void linux_RSAGetExclusive(int Resource, unsigned char *Indicator)
slaxemulator@8285 27 {
slaxemulator@8310 28 --- intel-536-537/coredrv/softserial_io.c~ 2011-01-26 12:16:55.753342197 +0000
slaxemulator@8310 29 +++ intel-536-537/coredrv/softserial_io.c 2011-01-26 12:16:55.763342199 +0000
slaxemulator@8285 30 @@ -65,7 +65,7 @@
slaxemulator@8285 31 }
slaxemulator@8285 32
slaxemulator@8285 33 //=============================================================================
slaxemulator@8285 34 -static DECLARE_MUTEX(softserial_write_sem);
slaxemulator@8285 35 +static DEFINE_SEMAPHORE(softserial_write_sem);
slaxemulator@8285 36 int softserial_write(struct tty_struct* ptty,
slaxemulator@8285 37 //int from_user_space,
slaxemulator@8285 38 const unsigned char* input_buffer,
slaxemulator@8310 39 --- intel-536-537/coredrv/coredrv.c~ 2011-01-26 12:15:54.713342038 +0000
slaxemulator@8310 40 +++ intel-536-537/coredrv/coredrv.c 2011-01-26 12:15:54.726675572 +0000
slaxemulator@8285 41 @@ -765,7 +765,7 @@
slaxemulator@8285 42 extern void do_schedule(void);
slaxemulator@8285 43 #endif
slaxemulator@8285 44
slaxemulator@8285 45 - DECLARE_MUTEX(exec_reg_sem);
slaxemulator@8285 46 + DEFINE_SEMAPHORE(exec_reg_sem);
slaxemulator@8285 47 DECLARE_WAIT_QUEUE_HEAD(persistWriteQ);
slaxemulator@8285 48 DECLARE_WAIT_QUEUE_HEAD(persistReadQ);
slaxemulator@8285 49 DECLARE_WAIT_QUEUE_HEAD(persistShutdownQ);