]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/suse-2.6.27.31/patches.suse/suse-ppc32-mol-semaphore
Add a patch to fix Intel E100 wake-on-lan problems.
[ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.suse / suse-ppc32-mol-semaphore
1 Subject: mol build fix
2 From: schwab@suse.de
3
4 ---
5 drivers/macintosh/mol/include/archinclude.h | 3 +++
6 1 file changed, 3 insertions(+)
7
8 --- a/drivers/macintosh/mol/include/archinclude.h
9 +++ b/drivers/macintosh/mol/include/archinclude.h
10 @@ -42,6 +42,9 @@
11
12 #ifndef __ASSEMBLY__
13 #include <linux/kernel.h>
14 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
15 +#include <linux/semaphore.h>
16 +#endif
17 #include <asm/atomic.h>
18 #include <linux/sched.h> /* needed by <asm/mmu_context.h> */
19 #include <asm/mmu_context.h>