mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-20 09:31:09 +00:00
x86, doc: Revert "x86: Document rdmsr_safe restrictions"
This reverts commit ce37defc0f
"x86: Document rdmsr_safe restrictions", as these restrictions no longer apply.
Reported-by: Borislav Petkov <borislav.petkov@amd.com>
Link: http://lkml.kernel.org/r/20120419171609.GH3221@aftab.osrc.amd.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
parent
4c5023a3fa
commit
060feb6500
1 changed files with 1 additions and 8 deletions
|
@ -169,14 +169,7 @@ static inline int wrmsr_safe(unsigned msr, unsigned low, unsigned high)
|
||||||
return native_write_msr_safe(msr, low, high);
|
return native_write_msr_safe(msr, low, high);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/* rdmsr with exception handling */
|
||||||
* rdmsr with exception handling.
|
|
||||||
*
|
|
||||||
* Please note that the exception handling works only after we've
|
|
||||||
* switched to the "smart" #GP handler in trap_init() which knows about
|
|
||||||
* exception tables - using this macro earlier than that causes machine
|
|
||||||
* hangs on boxes which do not implement the @msr in the first argument.
|
|
||||||
*/
|
|
||||||
#define rdmsr_safe(msr, p1, p2) \
|
#define rdmsr_safe(msr, p1, p2) \
|
||||||
({ \
|
({ \
|
||||||
int __err; \
|
int __err; \
|
||||||
|
|
Loading…
Reference in a new issue