VirtualBox

Ignore:
Timestamp:
Dec 16, 2009 11:01:44 AM (15 years ago)
Author:
vboxsync
Message:

the-linux-kernel.h: PAGE_KERNEL_EXEC was introduced with 2.6.8.

File:
1 edited

Legend:

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

    r24956 r25425  
    202202 * This sucks soooo badly on x86! Why don't they export __PAGE_KERNEL_EXEC so PAGE_KERNEL_EXEC would be usable?
    203203 */
    204 #if defined(RT_ARCH_AMD64)
     204#if   LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 8) && defined(RT_ARCH_AMD64)
    205205# define MY_PAGE_KERNEL_EXEC    PAGE_KERNEL_EXEC
    206 #elif defined(PAGE_KERNEL_EXEC) && defined(CONFIG_X86_PAE)
     206#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 8) && defined(PAGE_KERNEL_EXEC) && defined(CONFIG_X86_PAE)
    207207# ifdef __PAGE_KERNEL_EXEC
    208208   /* >= 2.6.27 */
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