Changeset 4155 in vbox for trunk/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
- Timestamp:
- Aug 15, 2007 7:41:26 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 23645
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
r4071 r4155 146 146 147 147 /* 148 * This sucks soooo badly! Why don't they export __PAGE_KERNEL_EXEC so PAGE_KERNEL_EXEC would be usable? 149 */ 150 #if defined(PAGE_KERNEL_EXEC) && defined(CONFIG_X86_PAE) 151 # define MY_PAGE_KERNEL_EXEC __pgprot(cpu_has_pge ? _PAGE_KERNEL_EXEC | _PAGE_GLOBAL : _PAGE_KERNEL_EXEC) 148 * This sucks soooo badly on x86! Why don't they export __PAGE_KERNEL_EXEC so PAGE_KERNEL_EXEC would be usable? 149 */ 150 #if defined(RT_ARCH_AMD64) 151 # define MY_PAGE_KERNEL_EXEC PAGE_KERNEL_EXEC 152 #elif defined(PAGE_KERNEL_EXEC) && defined(CONFIG_X86_PAE) 153 # define MY_PAGE_KERNEL_EXEC __pgprot(cpu_has_pge ? _PAGE_KERNEL_EXEC | _PAGE_GLOBAL : _PAGE_KERNEL_EXEC) 152 154 #else 153 # define MY_PAGE_KERNEL_EXEC PAGE_KERNEL155 # define MY_PAGE_KERNEL_EXEC PAGE_KERNEL 154 156 #endif 155 157
Note:
See TracChangeset
for help on using the changeset viewer.