Messages in this thread | | | From | kumon@flab ... | Date | Sat, 11 Mar 2000 19:15:42 +0900 | Subject | Adding mmu_cr4_features to EXPORT_SYMBOL |
| |
Hi,
In the i386 kernel (from 2.3.11), CR4 value is saved into the variable mmu_cr4_features, which will be restored to CR4 in some case. But the variable is not exported.
In the CR4 register, there is a flag that enables reading performance counters using RDPMC instruction in user mode.
I strongly hope to add "mmu_cr4_features" to exported list to make this bit on/of from a kernel module.
*** i386_ksyms.c Fri Feb 25 07:41:16 2000 --- /tmp/i386_ksyms.c Fri Mar 10 21:17:23 2000 *************** *** 145,147 **** --- 145,149 ---- EXPORT_SYMBOL(get_wchan); EXPORT_SYMBOL(irq_stat); + + EXPORT_SYMBOL(mmu_cr4_features);
-- Computer Systems Laboratory, Fujitsu Labs. kumon@flab.fujitsu.co.jp
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |