lkml.org 
[lkml]   [2000]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectAdding 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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.100 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site