- Timestamp:
- Jan 24, 2007 10:14:22 AM (18 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
r241 r260 55 55 #endif 56 56 57 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0) && !defined(page_to_pfn) 58 # define page_to_pfn(page) ((page) - mem_map) 57 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0) 58 # ifndef page_to_pfn 59 # define page_to_pfn(page) ((page) - mem_map) 60 # endif 61 # include <asm/pgtable.h> 62 # define global_flush_tlb __flush_tlb_global 59 63 #endif 60 64 -
trunk/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
r136 r260 33 33 #include <linux/autoconf.h> 34 34 #include <linux/version.h> 35 36 /* We only support 2.4 and 2.6 series kernels */ 37 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 0) 38 # error We only support 2.4 and 2.6 series kernels 39 #endif 40 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0) 41 # error We only support 2.4 and 2.6 series kernels 42 #endif 43 35 44 #if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS) 36 45 # define MODVERSIONS
Note:
See TracChangeset
for help on using the changeset viewer.