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 <johal...@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_ */
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to