Adding mmu_cr4_features to EXPORT_SYMBOL

From: kumon@flab.fujitsu.co.jp
Date: Sat Mar 11 2000 - 05:15:42 EST

  • Next message: Roman V. Shaposhnick: "Problems with modules in 2.3.51"

    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/



    This archive was generated by hypermail 2b29 : Sat Mar 11 2000 - 05:20:53 EST