1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00

Implement the rdmsrl_safe() function macro in the LinuxKPI.

Submitted by:	Johannes Lundberg <johalun0@gmail.com>
MFC after:	1 week
Sponsored by:	Mellanox Technologies
Sponsored by:	Limelight Networks
This commit is contained in:
Hans Petter Selasky 2018-06-06 13:29:52 +00:00
parent 590d0a43b6
commit a16387c1d4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334710

View File

@ -32,5 +32,6 @@
#include <machine/cpufunc.h>
#define rdmsrl(msr, val) ((val) = rdmsr(msr))
#define rdmsrl_safe(msr, val) rdmsr_safe(msr, val)
#endif /* _ASM_MSR_H_ */