wok-stable view linmodem-intel-537/stuff/linmodem-intel-537-kernel-2.6.37.patch @ rev 11378

aria2: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 09 13:06:05 2011 +0100 (2011-12-09)
parents ad6487ac4314
children
line source
1 --- intel-536-537/coredrv/locks.c~ 2011-01-26 12:12:00.856675530 +0000
2 +++ intel-536-537/coredrv/locks.c 2011-01-26 12:12:00.873342198 +0000
3 @@ -141,15 +141,15 @@
4 #endif
5 }
7 -DECLARE_MUTEX(sem0);
8 -DECLARE_MUTEX(sem1);
9 -DECLARE_MUTEX(sem2);
10 -DECLARE_MUTEX(sem3);
11 -DECLARE_MUTEX(sem4);
12 -DECLARE_MUTEX(sem5);
13 -DECLARE_MUTEX(sem6);
14 -DECLARE_MUTEX(sem7);
15 -DECLARE_MUTEX(sem8);
16 +DEFINE_SEMAPHORE(sem0);
17 +DEFINE_SEMAPHORE(sem1);
18 +DEFINE_SEMAPHORE(sem2);
19 +DEFINE_SEMAPHORE(sem3);
20 +DEFINE_SEMAPHORE(sem4);
21 +DEFINE_SEMAPHORE(sem5);
22 +DEFINE_SEMAPHORE(sem6);
23 +DEFINE_SEMAPHORE(sem7);
24 +DEFINE_SEMAPHORE(sem8);
26 asmlinkage void linux_RSAGetExclusive(int Resource, unsigned char *Indicator)
27 {
28 --- intel-536-537/coredrv/softserial_io.c~ 2011-01-26 12:16:55.753342197 +0000
29 +++ intel-536-537/coredrv/softserial_io.c 2011-01-26 12:16:55.763342199 +0000
30 @@ -65,7 +65,7 @@
31 }
33 //=============================================================================
34 -static DECLARE_MUTEX(softserial_write_sem);
35 +static DEFINE_SEMAPHORE(softserial_write_sem);
36 int softserial_write(struct tty_struct* ptty,
37 //int from_user_space,
38 const unsigned char* input_buffer,
39 --- intel-536-537/coredrv/coredrv.c~ 2011-01-26 12:15:54.713342038 +0000
40 +++ intel-536-537/coredrv/coredrv.c 2011-01-26 12:15:54.726675572 +0000
41 @@ -765,7 +765,7 @@
42 extern void do_schedule(void);
43 #endif
45 - DECLARE_MUTEX(exec_reg_sem);
46 + DEFINE_SEMAPHORE(exec_reg_sem);
47 DECLARE_WAIT_QUEUE_HEAD(persistWriteQ);
48 DECLARE_WAIT_QUEUE_HEAD(persistReadQ);
49 DECLARE_WAIT_QUEUE_HEAD(persistShutdownQ);