wok-stable annotate kqemu/stuff/kqemu-1.4.0pre1-init_MUTEX.patch @ rev 8910
mono: add perl in BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 28 12:52:47 2011 +0100 (2011-02-28) |
parents | |
children |
rev | line source |
---|---|
slaxemulator@8100 | 1 Common subdirectories: kqemu-1.4.0pre1-orig/common and kqemu-1.4.0pre1/common |
slaxemulator@8100 | 2 diff -u kqemu-1.4.0pre1-orig/kqemu-linux.c kqemu-1.4.0pre1/kqemu-linux.c |
slaxemulator@8100 | 3 --- kqemu-1.4.0pre1-orig/kqemu-linux.c 2008-05-30 16:33:34.000000000 -0400 |
slaxemulator@8100 | 4 +++ kqemu-1.4.0pre1/kqemu-linux.c 2011-01-05 16:51:45.407394748 -0500 |
slaxemulator@8100 | 5 @@ -53,6 +53,10 @@ |
slaxemulator@8100 | 6 #define PAGE_KERNEL_EXEC PAGE_KERNEL |
slaxemulator@8100 | 7 #endif |
slaxemulator@8100 | 8 |
slaxemulator@8100 | 9 +/* init_MUTEX macro was removed in 2.6.37 */ |
slaxemulator@8100 | 10 +#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 36) && !defined(init_MUTEX) |
slaxemulator@8100 | 11 +#define init_MUTEX(sem) sema_init(sem, 1) |
slaxemulator@8100 | 12 +#endif |
slaxemulator@8100 | 13 //#define DEBUG |
slaxemulator@8100 | 14 |
slaxemulator@8100 | 15 #ifdef DEBUG |
slaxemulator@8100 | 16 Common subdirectories: kqemu-1.4.0pre1-orig/tests and kqemu-1.4.0pre1/tests |