summaryrefslogtreecommitdiff
path: root/backport/backport-include/linux/semaphore.h
blob: d242df4555100480426487e94c5b2793d349ce45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef __BACKPORT_LINUX_SEMAPHORE_H
#define __BACKPORT_LINUX_SEMAPHORE_H

#include <linux/version.h>

#if  LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
#include_next <linux/semaphore.h>
#else
#include <asm/semaphore.h>
#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) */

#endif /* __BACKPORT_LINUX_SEMAPHORE_H */