]>
Commit | Line | Data |
---|---|---|
2cb7cef9 BS |
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> |