VirtualBox

Changeset 10935 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Jul 29, 2008 2:42:18 PM (16 years ago)
Author:
vboxsync
Message:

More moving around of files in Linux 2.6.27

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h

    r9442 r10935  
    6666#include <linux/spinlock.h>
    6767#include <linux/slab.h>
    68 #include <asm/semaphore.h>
     68#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
     69# include <linux/semaphore.h>
     70#else /* older kernels */
     71# include <asm/semaphore.h>
     72#endif /* older kernels */
    6973#include <linux/module.h>
    7074#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette