svn commit: r334710 - head/sys/compat/linuxkpi/common/include/asm

Hans Petter Selasky hselasky at FreeBSD.org
Wed Jun 6 13:29:53 UTC 2018


Author: hselasky
Date: Wed Jun  6 13:29:52 2018
New Revision: 334710
URL: https://svnweb.freebsd.org/changeset/base/334710

Log:
  Implement the rdmsrl_safe() function macro in the LinuxKPI.
  
  Submitted by:	Johannes Lundberg <johalun0 at gmail.com>
  MFC after:	1 week
  Sponsored by:	Mellanox Technologies
  Sponsored by:	Limelight Networks

Modified:
  head/sys/compat/linuxkpi/common/include/asm/msr.h

Modified: head/sys/compat/linuxkpi/common/include/asm/msr.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/asm/msr.h	Wed Jun  6 13:01:53 2018	(r334709)
+++ head/sys/compat/linuxkpi/common/include/asm/msr.h	Wed Jun  6 13:29:52 2018	(r334710)
@@ -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_ */


More information about the svn-src-head mailing list