1 diff -Naur src/kqemu-1.4.0pre1/kqemu-linux.c src/kqemu-1.4.0pre1.new/kqemu-linux.c
2 --- src/kqemu-1.4.0pre1/kqemu-linux.c 2008-05-30 16:33:34.000000000 -0400
3 +++ src/kqemu-1.4.0pre1/kqemu-linux.c 2011-01-05 16:51:45.407394748 -0500
5 #define PAGE_KERNEL_EXEC PAGE_KERNEL
8 +/* init_MUTEX macro was removed in 2.6.37 */
9 +#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 36) && !defined(init_MUTEX)
10 +#define init_MUTEX(sem) sema_init(sem, 1)