From: Rudolf Marek Date: Tue, 8 May 2007 15:22:01 +0000 (+0200) Subject: i386: Add safe variants of rdmsr_on_cpu and wrmsr_on_cpu X-Git-Tag: v2.6.22-rc1~351^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e9baad8f5cb2040e802eff484fad7e721b21c0b;p=pandora-kernel.git 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: Rudolf Marek Cc: Alexey Dobriyan Cc: Dave Jones Signed-off-by: Jean Delvare --- Reading git-diff-tree failed