Skip to content
Commit 4e9baad8 authored by Rudolf Marek's avatar Rudolf Marek Committed by Jean Delvare
Browse files

i386: Add safe variants of rdmsr_on_cpu and wrmsr_on_cpu



Add safe (exception handled) variants of rdmsr_on_cpu and wrmsr_on_cpu.
You should use these when the target MSR may not actually exist, as
doing so could trigger an exception which the regular functions do not
handle. The safe variants are slower, though.

The upcoming coretemp hardware monitoring driver will need this.

Signed-off-by: default avatarRudolf Marek <r.marek@assembler.cz>
Cc: Alexey Dobriyan <adobriyan@openvz.org>
Cc: Dave Jones <davej@redhat.com>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 9ca8e40c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment