• Hanna V. Linder's avatar
    [PATCH] Driver Model: Add class support to msr.c · 5b472ff2
    Hanna V. Linder authored
    This patch enables class support in arch/i386/kernel/msr.c. Very simliar
    to cpuid (with the fixes Zwane/Greg made, thanks).
    
    [root@w-hlinder2 root]# tree /sys/class/msr
    /sys/class/msr
    | -- msr0
    |   `-- dev
    `-- msr1
        `-- dev
    
    2 directories, 2 files
    
    Thanks to Randy Dunlap for pointing out the unnecessary tabs. Fixed.
    
    Signed-off-by Hanna Linder <hannal@us.ibm.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    5b472ff2
msr.c 7.36 KB