VirtualBox

Changeset 105669 in vbox for trunk


Ignore:
Timestamp:
Aug 14, 2024 11:07:25 AM (5 months ago)
Author:
vboxsync
Message:

ARM/Linux: Fix kernel modules build for 6.9+ kernels, bugref:10630.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/param.h

    r104730 r105669  
    6969# elif defined(RT_OS_LINUX)
    7070#  ifdef IN_RING0
    71 #   define PAGE_SIZE        (1 << CONFIG_ARM64_PAGE_SHIFT)
     71#   if RTLNX_VER_MIN(6,9,0)
     72#    define PAGE_SIZE        (1 << CONFIG_PAGE_SHIFT)
     73#   else
     74#    define PAGE_SIZE        (1 << CONFIG_ARM64_PAGE_SHIFT)
     75#   endif
    7276#  elif defined(IPRT_STATIC_ARM64_PAGE_SHIFT)
    7377#   define PAGE_SIZE        (1 << IPRT_STATIC_ARM64_PAGE_SHIFT)
     
    9599# elif defined(RT_OS_LINUX)
    96100#  ifdef IN_RING0
    97 #   define PAGE_SHIFT       CONFIG_ARM64_PAGE_SHIFT
     101#   if RTLNX_VER_MIN(6,9,0)
     102#    define PAGE_SHIFT       CONFIG_PAGE_SHIFT
     103#   else
     104#    define PAGE_SHIFT       CONFIG_ARM64_PAGE_SHIFT
     105#   endif
    98106#  elif defined(IPRT_STATIC_ARM64_PAGE_SHIFT)
    99107#   define PAGE_SHIFT       IPRT_STATIC_ARM64_PAGE_SHIFT
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