~n-muench/ubuntu/precise/open-vm-tools/open-vm-tools.raring-precise.backport

« back to all changes in this revision

Viewing changes to modules/linux/vmblock/include/compat_semaphore.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-10-23 15:32:00 UTC
  • mfrom: (1.1.2 upstream) (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20081023153200-gc1bfx89hj35c799
Tags: 2008.10.10-123053-2
* Correcting typo in dh_installinit call.
* Downgrading depends on module-assistant to recommends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#   define __COMPAT_SEMAPHORE_H__
21
21
 
22
22
 
23
 
#include <asm/semaphore.h>
 
23
/* <= 2.6.25 have asm only, 2.6.26 has both, and 2.6.27-rc2+ has linux only. */
 
24
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27)
 
25
#   include <asm/semaphore.h>
 
26
#else
 
27
#   include <linux/semaphore.h>
 
28
#endif
24
29
 
25
30
 
26
31
/*