Changeset 25365 in vbox for trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
- Timestamp:
- Dec 14, 2009 3:54:04 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
r25278 r25365 488 488 if ((GET_APIC_DELIVERY_MODE(v) == APIC_MODE_NMI) && !(v & APIC_LVT_MASKED)) 489 489 { 490 # if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 31) && defined(CONFIG_PERF_COUNTERS) 490 # if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 31) \ 491 && (defined(CONFIG_PERF_COUNTERS) || defined(CONFIG_PERF_EVENTS)) 491 492 /* 2.6.31+: The performance counter framework will initialize the LVTPC 492 493 * vector as NMI. We can't disable the framework but the kernel loader 493 494 * script will do 'echo 2 > /proc/sys/kernel/perf_counter_paranoid' 494 495 * which hopefilly prevents any usage of hardware performance counters 495 * and therefore triggering of NMIs. */ 496 * and therefore triggering of NMIs. 497 * 2.6.32+: CONFIG_PERF_COUNTERS => CONFIG_PERF_EVENTS */ 496 498 printk(KERN_ERR DEVICE_NAME 497 499 ": Warning: 2.6.31+ kernel detected. Most likely the hardware performance\n"
Note:
See TracChangeset
for help on using the changeset viewer.